Function at 0x504ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51953b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x5750c8]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x5750c8]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x7c], 0
cmp byte [edi + 0x81], 0
mov dword [esp + 0x34], edi
je 0x504d01
mov dword [0x5fcd30], 0xffffffff
cmp byte [edi + 0x2d], 0
je 0x505b0d
mov eax, dword [0x576b6c]
mov cl, byte [0x576b6f]
mov ebx, dword [0x5b30cc]
mov byte [esp + 0x2c], al
mov al, byte [0x576b6e]
mov byte [esp + 0x2d], ah
mov byte [esp + 0x2e], al
mov eax, dword [edi + 0x7c]
mov byte [esp + 0x2f], cl
call fcn.00492d90
test al, al
je 0x504d59
lea esi, [esp + 0x38]
lea eax, [esp + 0x98]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0xffc8c8c8
call fcn.00403890
lea edx, [edi + 4]
lea ecx, [edi + 0x18]
lea eax, [esp + 0xa8]
mov dword [esp + 0xa4], edx
call fcn.00403dd0
mov eax, dword [edi + 0x7c]
xor edx, edx
cmp byte [0x5b3073], 0xc
push eax
setne dl
lea ecx, [esp + 0xc8]
lea esi, [edx - 1]
and esi, 0xfffffffb
add esi, 0x19
call fcn.00404370
fldz
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
push 0
sub esp, 0x10
mov eax, esp
fstp dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 4], edx
push ebx
mov dword [eax + 8], ecx
call fcn.0041f760
mov edx, esi
mov dword [esp + 0x7c], edx
fild dword [esp + 0x7c]
test edx, edx
jns 0x504ddb
fadd dword [0x554b74]
fmulp st(1)
fld qword [0x554f08]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld1
fst dword [esp + 0x28]
fld dword [0x5553ac]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x504e47
cmp byte [0x5b3073], 0xc
jne 0x504e47
fdivr qword [0x555010]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
or eax, 0xc00
fmul qword [0x554ee8]
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x7c]
mov esi, dword [esp + 0x7c]
fldcw word [esp + 0x20]
jmp 0x504e49
fstp st(0)
fld dword [0x57c3ac]
sub esp, 8
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x84], esp
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x1e8], 0
fldz
push ecx
fst dword [esp]
push 0
fxch st(1)
push ecx
fstp dword [esp]
mov dword [esp + 0x2c], esi
fild dword [esp + 0x2c]
push 0xe
test esi, esi
jns 0x504e93
fadd dword [0x554b74]
fmulp st(2)
sub esp, 8
fxch st(1)
mov eax, esp
mov dword [esp + 0x38], esp
fstp dword [esp + 0x50]
mov dword [eax], 0x40000000
fld dword [esp + 0x50]
fstp dword [esp + 4]
fldz
sub esp, 0xc
fadd qword [0x554fd0]
lea ecx, [esp + 0x134]
mov eax, esp
lea edx, [esp + 0xd4]
mov dword [esp + 0xc8], esp
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp + 0x134]
fld dword [0x5553a8]
fstp dword [esp + 0x138]
fstp dword [esp + 0x13c]
call fcn.00403dd0
sub esp, 0xc
mov byte [esp + 0x218], 2
mov eax, dword [edi + 0x7c]
mov ecx, esp
mov dword [esp + 0xd8], esp
push ecx
push eax
call fcn.00404370
add esp, 4
or esi, 0xffffffff
push ebx
mov dword [esp + 0x21c], esi
call fcn.0041fa70
fld dword [0x57c3ac]
sub esp, 8
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x84], esp
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x1e8], 3
fldz
movzx edx, byte [esp + 0x35]
push ecx
fst dword [esp]
push 0
fld1
push ecx
movzx ecx, byte [esp + 0x40]
fstp dword [esp]
fld dword [esp + 0x44]
push 0xe
sub esp, 8
mov eax, esp
mov byte [eax], cl
movzx ecx, byte [esp + 0x4e]
fstp dword [esp + 4]
mov byte [eax + 1], dl
movzx edx, byte [esp + 0x4f]
mov dword [esp + 0x38], esp
mov byte [eax + 2], cl
mov byte [eax + 3], dl
sub esp, 0xc
fst dword [esp + 0x158]
lea ecx, [esp + 0x158]
fst dword [esp + 0x15c]
mov eax, esp
lea edx, [esp + 0xd4]
fstp dword [esp + 0x160]
mov dword [esp + 0xc8], esp
call fcn.00403dd0
mov byte [esp + 0x20c], 5
sub esp, 0xc
mov eax, dword [edi + 0x7c]
mov ecx, esp
mov dword [esp + 0xd8], esp
push ecx
push eax
call fcn.00404370
add esp, 4
push ebx
mov dword [esp + 0x21c], esi
call fcn.0041fa70
cmp byte [0x5b3073], 0xc
jne 0x50500c
fld dword [esp + 0x28]
fmul qword [0x5553a0]
jmp 0x505012
fld dword [0x555398]
mov eax, dword [edi + 0x7c]
fstp dword [esp + 0x20]
cmp dword [eax + 0xa0], 1
fld dword [esp + 0xac]
fsub qword [0x554f98]
fstp dword [esp + 0xac]
jne 0x505058
call fcn.00492d90
test al, al
je 0x505058
mov eax, dword [edi + 0x7c]
mov ecx, dword [eax + 0x90]
push ecx
push str.Points:___
lea edx, [esp + 0x1b8]
push edx
jmp 0x50506f
mov eax, dword [edi + 0x7c]
mov eax, dword [eax + 0x90]
push eax
push str.Points:__u
lea ecx, [esp + 0x1b8]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
fld dword [0x5bca7c]
fldz
add esp, 0xc
fld st(0)
fucomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x5050df
lea edx, [esp + 0x1b0]
fstp st(0)
push edx
lea ecx, [esp + 0xf0]
call fcn.00404370
fldz
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
push 0
sub esp, 0x10
mov eax, esp
fstp dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x108]
mov dword [eax + 4], edx
push ebx
mov dword [eax + 8], ecx
call fcn.0041f760
fmul dword [esp + 0x20]
fstp dword [0x5bca7c]
fldz
fld dword [0x57c3ac]
sub esp, 8
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x84], esp
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x1e8], 6
push ecx
fst dword [esp]
push 0
fld1
push ecx
fstp dword [esp]
fld dword [esp + 0x34]
push 0xe
sub esp, 8
fstp dword [esp + 4]
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], 0x40000000
fld dword [esp + 0x44]
fstp dword [esp + 0x140]
sub esp, 0xc
fld dword [0x5553a8]
lea ecx, [esp + 0x14c]
fstp dword [esp + 0x150]
mov eax, esp
lea edx, [esp + 0xd4]
fstp dword [esp + 0x154]
mov dword [esp + 0xc8], esp
call fcn.00403dd0
sub esp, 0xc
mov ecx, esp
mov byte [esp + 0x218], 8
mov dword [esp + 0xd8], esp
push ecx
lea edx, [esp + 0x1ec]
push edx
call fcn.00404370
add esp, 4
push ebx
mov dword [esp + 0x21c], esi
call fcn.0041fa70
fld dword [0x57c3ac]
sub esp, 8
mov eax, esp
fstp dword [eax]
mov dword [esp + 0x84], esp
fld dword [0x57c3b0]
fstp dword [eax + 4]
mov dword [esp + 0x1e8], 9
fldz
movzx edx, byte [esp + 0x35]
push ecx
fst dword [esp]
push 0
fld1
push ecx
movzx ecx, byte [esp + 0x40]
fstp dword [esp]
fld dword [esp + 0x34]
push 0xe
sub esp, 8
mov eax, esp
mov byte [eax], cl
movzx ecx, byte [esp + 0x4e]
fstp dword [esp + 4]
mov byte [eax + 1], dl
movzx edx, byte [esp + 0x4f]
mov dword [esp + 0x38], esp
mov byte [eax + 2], cl
mov byte [eax + 3], dl
fst dword [esp + 0xf4]
fst dword [esp + 0xf8]
fstp dword [esp + 0xfc]
sub esp, 0xc
lea ecx, [esp + 0x100]
mov eax, esp
lea edx, [esp + 0xd4]
mov dword [esp + 0xc8], esp
call fcn.00403dd0
sub esp, 0xc
mov ecx, esp
mov byte [esp + 0x218], 0xb
mov dword [esp + 0xd8], esp
push ecx
lea eax, [esp + 0x1ec]
push eax
call fcn.00404370
add esp, 4
push ebx
mov dword [esp + 0x21c], esi
call fcn.0041fa70
fldz
fcom dword [edi + 0x60]
fnstsw ax
test ah, 5
jp 0x5054e4
fld dword [0x5552e8]
lea ecx, [edi + 0x60]
fstp dword [esp + 0xe0]
lea eax, [esp + 0x1a4]
fld dword [0x555394]
lea edx, [esp + 0xe0]
fstp dword [esp + 0xe4]
fstp dword [esp + 0xe8]
call fcn.004037a0
mov edx, eax
lea ecx, [edi + 0x60]
lea eax, [esp + 0xfc]
call fcn.004037a0
fld dword [esp + 0xfc]
fst dword [esp + 0x3c]
mov edi, dword [edi + 0x58]
fld dword [esp + 0x100]
fstp dword [esp + 0x50]
fld dword [esp + 0x104]
fstp dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fldz
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fld dword [esp + 0xac]
fadd qword [0x5552f0]
fadd dword [0x5b2aa4]
fsub qword [0x554c30]
fstp dword [esp + 0x28]
fld dword [esp + 0xa8]
fsub dword [esp + 0x14]
fsub qword [0x554c00]
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
fld dword [esp + 0x28]
mov dword [esp + 0xb4], ecx
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xb8], edx
fstp dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xbc], eax
test edi, edi
je 0x5053d5
cmp dword [edi + 0xbc], 1
jne 0x5053d5
fmul qword [0x554d50]
fstp qword [esp + 0x7c]
call fcn.0048fe70
fmul qword [0x554b90]
fsubr qword [esp + 0x7c]
fld dword [esp + 0x84]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x5053cc
fstp st(0)
call fcn.0048fe70
fmul qword [0x554b90]
fsubr qword [esp + 0x7c]
fstp dword [esp + 0xb4]
jmp 0x5053d7
fstp st(0)
fld dword [esp + 0xbc]
call fcn.00513620
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x30]
fld dword [esp + 0xb8]
call fcn.00513620
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0xb4]
call fcn.00513620
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov byte [0x578454], 0
mov eax, 1
mov ecx, 0x10
fstp dword [esp + 0x14]
mov esi, 0x57c348
fld dword [esp + 0x14]
mov edi, 0x577c14
fldz
rep movsd dword es:[edi], dword [esi]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fadd st(1)
fstp dword [esp + 0x70]
add dword [0x578458], eax
fadd dword [esp + 0x30]
mov ecx, 0x10
lea esi, [esp + 0x3c]
mov edi, 0x578414
fstp dword [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
push eax
mov ebx, 0x576b80
call fcn.0041b7e0
mov ecx, dword [0x5b2c40]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0x27], al
mov eax, esp
mov byte [esp + 0x24], cl
mov dl, ch
mov byte [eax], cl
mov cl, byte [esp + 0x27]
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], bl
mov dword [esp + 0x1c], esp
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], cl
call fcn.0041bbf0
mov ecx, dword [0x5b2c40]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
fldz
mov edi, dword [esp + 0x34]
fcom dword [edi + 0x64]
fnstsw ax
test ah, 5
jp 0x505703
fld dword [0x5552e8]
lea ecx, [edi + 0x64]
fstp dword [esp + 0xb4]
lea eax, [esp + 0x198]
fld dword [0x555394]
lea edx, [esp + 0xb4]
fstp dword [esp + 0xb8]
fstp dword [esp + 0xbc]
call fcn.004037a0
mov edx, eax
lea ecx, [edi + 0x64]
lea eax, [esp + 0x138]
call fcn.004037a0
fld dword [eax]
fstp dword [esp + 0x14]
mov ecx, dword [edi + 0x7c]
fld dword [eax + 4]
mov edx, dword [ecx + 0x94]
fstp dword [esp + 0x84]
mov ecx, 0x10
fld dword [eax + 8]
mov byte [0x578454], 0
fstp dword [esp + 0x1c]
mov eax, 1
fld dword [esp + 0x14]
mov esi, 0x57c348
fstp dword [esp + 0x3c]
mov edi, 0x577c14
fld dword [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x50]
fld dword [esp + 0x1c]
fstp dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fldz
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
add dword [0x578458], eax
fst dword [esp + 0x58]
mov ecx, 0x10
fst dword [esp + 0x5c]
lea esi, [esp + 0x3c]
fst dword [esp + 0x60]
mov edi, 0x578414
fstp dword [esp + 0x68]
push eax
fld dword [esp + 0xb0]
mov ebx, 0x576b80
fadd qword [0x554b88]
fstp dword [esp + 0x88]
fld dword [esp + 0xac]
fsub dword [edx*4 + 0x5bca7c]
fsub qword [0x554ca0]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x88]
fadd st(1)
fstp dword [esp + 0x74]
fadd st(0), st(0)
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
mov dword [esp + 0x24], 0
mov esi, dword [0x5b2c34]
test esi, esi
je 0x505657
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x505679
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004037e0
mov dword [esp + 0x1e0], 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0xc7], al
mov eax, esp
mov byte [eax], cl
mov cl, byte [esp + 0xc7]
mov dl, ch
mov dword [esp + 0x1c], esp
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], cl
call fcn.0041bbf0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
push 0
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1e8], 0xffffffff
call esi
test eax, eax
je 0x5056fd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
call fcn.004037e0
mov edi, dword [esp + 0x34]
fldz
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x50585c
fld dword [0x5551d8]
lea edx, [edi + 0x6c]
fst dword [esp + 0x3c]
lea ecx, [esp + 0x114]
fstp dword [esp + 0x50]
lea eax, [esp + 0x15c]
fst dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fstp dword [esp + 0x68]
fld dword [0x57c388]
fstp dword [esp + 0x114]
fld dword [0x57c38c]
fstp dword [esp + 0x118]
fld dword [0x57c390]
fstp dword [esp + 0x11c]
call fcn.00403dd0
fld dword [eax]
mov ecx, 0x10
fstp dword [esp + 0x1c]
mov esi, 0x57c348
fld dword [eax + 4]
mov edi, 0x577c14
fstp dword [esp + 0x84]
mov ebx, 0x576b80
fld dword [eax + 8]
mov byte [0x578454], 0
fstp dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x1c]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x84]
fadd st(1)
mov eax, 1
add dword [0x578458], eax
fstp dword [esp + 0x70]
mov ecx, 0x10
fadd dword [esp + 0x14]
lea esi, [esp + 0x3c]
mov edi, 0x578414
push eax
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [0x576b6c]
mov al, byte [0x576b6f]
mov bl, byte [0x576b6e]
push ecx
mov byte [esp + 0xa7], al
mov eax, esp
mov byte [eax], cl
mov cl, byte [esp + 0xa7]
mov dl, ch
mov dword [esp + 0x1c], esp
mov byte [eax + 1], dl
mov byte [eax + 2], bl
mov byte [eax + 3], cl
call fcn.0041bbf0
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
fldz
mov edi, esi
fld dword [0x5552ec]
lea ecx, [edi + 0x24]
fstp dword [esp + 0x3c]
lea eax, [esp + 0x18c]
fld dword [0x555390]
mov edx, 0x57c3b4
fstp dword [esp + 0x50]
mov dword [esp + 0x18], ecx
fst dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fstp dword [esp + 0x68]
fld dword [0x554bb0]
fstp dword [esp + 0x9c]
call fcn.004037a0
mov edx, eax
lea ecx, [esp + 0x9c]
lea eax, [esp + 0x174]
call fcn.00403bf0
mov edx, dword [esp + 0xa4]
mov ecx, eax
lea eax, [esp + 0x144]
call fcn.00403dd0
fld dword [eax]
fstp dword [esp + 0x1c]
mov ecx, 0x10
fld dword [eax + 4]
mov esi, 0x57c348
fstp dword [esp + 0x84]
mov edi, 0x577c14
fld dword [eax + 8]
mov byte [0x578454], 0
fstp dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x1c]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x84]
fadd st(1)
mov eax, 1
add dword [0x578458], eax
fstp dword [esp + 0x70]
mov ecx, 0x10
fadd dword [esp + 0x14]
lea esi, [esp + 0x3c]
mov edi, 0x578414
push eax
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
mov ebx, 0x576b80
call fcn.0041b7e0
mov ecx, dword [0x5b2c14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx + 0x94]
push ecx
mov dword [esp + 0x9c], esp
cmp dword [0x5fcd30], eax
je 0x5059a4
mov dword [0x5fcd30], eax
mov eax, esp
mov dword [eax], 0xff808080
jmp 0x5059ac
mov eax, esp
mov dword [eax], 0xc8ffffff
call fcn.0041bbf0
mov ecx, dword [0x5b2c14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
cmp byte [esi + 0x82], 0
je 0x505b0b
fld dword [0x5552ec]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x3c]
lea eax, [esp + 0x150]
fld dword [0x555390]
mov edx, 0x57c3b4
fstp dword [esp + 0x50]
fldz
fst dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fstp dword [esp + 0x68]
fld dword [0x554bb0]
fstp dword [esp + 0x7c]
call fcn.004037a0
mov edx, eax
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x168]
call fcn.00403bf0
mov edx, dword [esp + 0xa4]
mov ecx, eax
lea eax, [esp + 0x180]
call fcn.00403710
fld dword [eax]
fstp dword [esp + 0x18]
mov ecx, 0x10
fld dword [eax + 4]
mov esi, 0x57c348
fstp dword [esp + 0x1c]
mov edi, 0x577c14
fld dword [eax + 8]
mov byte [0x578454], 0
fstp dword [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x18]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x1c]
fadd st(1)
mov eax, 1
add dword [0x578458], eax
fstp dword [esp + 0x70]
mov ecx, 0x10
fadd dword [esp + 0x84]
lea esi, [esp + 0x3c]
mov edi, 0x578414
push eax
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
mov ebx, 0x576b80
call fcn.0041b7e0
mov ecx, dword [0x5b2c14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xff808080
call fcn.0041bbf0
mov ecx, dword [0x5b2c14]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
mov edi, dword [esp + 0x34]
jmp 0x505b0d
mov edi, esi
fld dword [edi + 0x84]
fmul qword [0x554b78]
call fcn.00513620
test eax, eax
jg 0x505b26
xor ebx, ebx
jmp 0x505b34
mov ebx, 0xff
cmp eax, 0xff
jge 0x505b34
mov ebx, eax
cmp dword [edi + 0x58], 0
je 0x505cbe
cmp dword [edi + 0x7c], 0
je 0x505cbe
test ebx, ebx
jle 0x505cbe
fld dword [0x55538c]
mov edx, dword [edi + 0x5c]
sub esp, 0x14
fst dword [esp + 0x38]
fld dword [0x555388]
mov ecx, esp
fstp dword [esp + 0x10]
mov dword [esp + 0xac], esp
fstp dword [esp + 0xc]
push edx
call fcn.00404370
mov eax, dword [0x5b30cc]
push eax
call fcn.0041f590
fstp dword [esp + 0x38]
fld dword [0x555384]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jp 0x505bf2
fld dword [esp + 0x24]
mov edx, dword [edi + 0x5c]
fsub qword [0x554d50]
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0xac], esp
fstp dword [esp + 0x38]
fld dword [0x555388]
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fstp dword [esp + 0xc]
push edx
call fcn.00404370
mov eax, dword [0x5b30cc]
push eax
call fcn.0041f590
fstp dword [esp + 0x38]
fld dword [0x555384]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 5
jnp 0x505b9d
mov eax, dword [edi + 0x7c]
call fcn.00492d90
test al, al
je 0x505c14
mov byte [esp + 0x33], bl
mov word [esp + 0x31], 0xffff
mov byte [esp + 0x30], 0xff
lea ecx, [esp + 0x30]
jmp 0x505c28
mov byte [esp + 0x2b], bl
mov word [esp + 0x29], 0x745d
mov byte [esp + 0x28], 0x3b
lea ecx, [esp + 0x28]
fldz
movzx edx, byte [ecx]
push ecx
mov ebx, 0xf
fst dword [esp]
push 0
sub esp, 0x10
mov eax, esp
mov byte [eax], dl
fst dword [esp + 0xc]
movzx edx, byte [ecx + 1]
fld dword [0x555388]
fstp dword [esp + 8]
fld dword [esp + 0x3c]
mov byte [eax + 1], dl
movzx edx, byte [ecx + 2]
fstp dword [esp + 4]
mov cl, byte [ecx + 3]
mov dword [esp + 0xb0], esp
mov byte [eax + 2], dl
mov byte [eax + 3], cl
mov dword [esp + 0x1f8], ebx
mov esi, dword [edi + 0x58]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call fcn.00502a20
mov edx, dword [edi + 0x5c]
sub esp, 0x10
mov ecx, esp
fstp dword [esp + 0xc]
mov dword [esp + 0xac], esp
push ecx
push edx
call fcn.00404370
mov eax, dword [0x5b30cc]
add esp, 4
push eax
mov ecx, ebx
mov dword [esp + 0x214], 0xffffffff
call fcn.0041f9d0
cmp byte [edi + 0x82], 0
je 0x505ef1
mov ecx, dword [0x5b2c04]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
call fcn.0048fdd0
fmul qword [0x554b90]
fsub qword [0x555378]
fstp dword [esp + 0xa4]
call fcn.0048fe70
fmul qword [0x554e48]
fstp dword [esp + 0x3c]
fld dword [esp + 0xa4]
fst dword [esp + 0x50]
fldz
fst dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fstp dword [esp + 0x68]
fmul qword [0x554b90]
fstp qword [esp + 0x84]
call fcn.0048fdd0
fmul qword [0x554b90]
mov ecx, dword [edi + 0x10]
mov eax, 1
mov esi, 0x57c348
fsub qword [esp + 0x84]
mov edi, 0x577c14
push eax
mov ebx, 0x576b80
fadd qword [0x554cf0]
fstp dword [esp + 0x20]
fld dword [ecx + 8]
mov byte [0x578454], 0
fsub qword [0x554b88]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x20]
add dword [0x578458], eax
fadd st(1)
mov ecx, 0x10
lea esi, [esp + 0x40]
fstp dword [esp + 0x74]
mov edi, 0x578414
fadd st(0), st(0)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
call fcn.0041b7e0
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
xor bl, bl
mov dword [eax], Ordinal_3
call fcn.0041bbf0
add esp, 4
call fcn.0048fe70
fmul qword [0x554e48]
fstp dword [esp + 0x3c]
fld dword [esp + 0xa4]
fstp dword [esp + 0x50]
fldz
fst dword [esp + 0x64]
fld1
fstp dword [esp + 0x78]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fstp dword [esp + 0x68]
call fcn.0048fdd0
fmul qword [0x554b90]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x10]
mov ecx, 0x10
fsubr qword [esp + 0x84]
mov esi, 0x57c348
mov edi, 0x577c14
fsub qword [0x554cf0]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
mov byte [0x578454], bl
fsub qword [0x554b88]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x6c]
mov eax, 1
fadd dword [esp + 0x1c]
add dword [0x578458], eax
mov ecx, 0x10
lea esi, [esp + 0x3c]
fstp dword [esp + 0x70]
mov edi, 0x578414
fld dword [esp + 0x14]
push eax
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
add dword [0x578458], eax
mov ebx, 0x576b80
call fcn.0041b7e0
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], Ordinal_3
call fcn.0041bbf0
mov ecx, dword [0x5b2c04]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esp, 4
call eax
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0045f06e
mov esp, ebp
pop ebp
ret