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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5047b4
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x546190]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0xe8], eax
mov eax, dword [ecx + 0x84]
imul eax, dword [ecx + 8]
lea ecx, [esp + 0x1e8]
lea ebx, [eax + eax*2]
push ecx
mov dword [esp + 0xc0], edi
mov esi, edx
add ebx, ebx
call fcn.00454e60
mov al, byte [esp + 0x1ea]
mov dl, byte [esp + 0x1e8]
and al, 0xf
sub al, 0x40
and dl, 0xf
sub dl, 0x60
mov byte [esp + 0x1ea], al
xor eax, eax
test byte [esp + 0x1eb], 0xf0
mov byte [esp + 0x1e8], dl
je 0x4c2463
mov cl, byte [esp + 0x1ec]
mov eax, 1
test cl, 0xf
je 0x4c2463
mov eax, 2
test cl, 0xf0
je 0x4c2463
test byte [esp + 0x1ed], 0xf
mov eax, 3
jne 0x4c2491
add eax, 7
mov ecx, eax
and ecx, 1
sar eax, 1
lea edx, [esp + eax + 0x1e8]
add ecx, ecx
add ecx, ecx
mov eax, 0xf0
sar eax, cl
mov dword [esp + 0x3c], edx
and al, byte [edx]
mov dl, 4
shl dl, cl
mov ecx, dword [esp + 0x3c]
add al, dl
mov byte [ecx], al
mov eax, dword [edi + 0xe4]
test eax, eax
jne 0x4c250e
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
push 2
push eax
push ebx
lea eax, [esp + 0x1f4]
push eax
push 3
mov ecx, esi
call edx
mov ebx, eax
test ebx, ebx
je 0x4c24bb
inc dword [ebx + 4]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x278], 0
test ebx, ebx
je 0x4c24d4
inc dword [ebx + 4]
mov ecx, dword [edi + 0xe4]
test ecx, ecx
je 0x4c24eb
dec dword [ecx + 4]
jne 0x4c24eb
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
or eax, 0xffffffff
mov dword [edi + 0xe4], ebx
mov dword [esp + 0x278], eax
test ebx, ebx
je 0x4c250e
add dword [ebx + 4], eax
jne 0x4c250e
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [esi]
mov ebx, dword [edi + 0xe4]
mov edx, dword [eax + 0x58]
mov ecx, esi
mov dword [esp + 0x84], ebx
call edx
mov eax, dword [eax + 8]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x58]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
sub ecx, dword [eax]
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
sar ecx, 1
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov ecx, esi
fstp dword [esp + 0x80]
call eax
mov ecx, dword [eax + 0xc]
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov dword [esp + 0x10], ecx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
sub ecx, dword [eax + 4]
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
sar ecx, 1
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov ecx, esi
fstp dword [esp + 0xcc]
call eax
mov ecx, dword [eax + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov dword [esp + 0x10], ecx
mov ecx, esi
call eax
mov eax, dword [eax]
add eax, dword [esp + 0x10]
mov edx, dword [esi]
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [edx + 0x58]
mov ecx, esi
fstp dword [esp + 0xdc]
call eax
mov ecx, dword [eax + 0xc]
mov edx, dword [esi]
mov eax, dword [edx + 0x58]
mov dword [esp + 0x10], ecx
mov ecx, esi
call eax
mov eax, dword [eax + 4]
add eax, dword [esp + 0x10]
mov edx, dword [esi]
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [edi + 0x8c]
mov ecx, esi
fstp dword [esp + 0xd0]
fld dword [eax + 0x3a0]
mov eax, dword [edx + 0x7c]
fstp dword [esp + 0x188]
call eax
mov ecx, dword [esp + 0xe8]
fld dword [ecx + 0x78]
mov dword [esp + 0xe0], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fadd qword [0x533dd8]
fstp dword [esp + 0xe4]
fldz
mov eax, dword [edi + 0x8c]
fstp dword [esp + 0x88]
cmp dword [eax + 0x384], 1
fldz
jne 0x4c2860
fld dword [ecx + 0x88]
lea esi, [esp + 0xc0]
fstp dword [esp + 0x24]
lea edi, [esp + 0x100]
fld dword [ecx + 0x98]
fstp dword [esp + 0x34]
fld dword [ecx + 0xa8]
fstp dword [esp + 0x38]
fld dword [ecx + 0x8c]
fstp dword [esp + 0x74]
fld dword [ecx + 0x9c]
fstp dword [esp + 0x3c]
fld dword [ecx + 0xac]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fstp dword [esp + 0x8c]
fld dword [esp + 0x3c]
fstp dword [esp + 0x90]
fld dword [esp + 0x70]
fstp dword [esp + 0x94]
fld dword [ecx + 0x90]
fstp dword [esp + 0x10]
fld dword [ecx + 0xa0]
fstp dword [esp + 0x4c]
fld dword [ecx + 0xb0]
fstp dword [esp + 0x50]
fld dword [esp + 0x10]
fld st(0)
fmul st(2)
fld dword [esp + 0x4c]
fld st(0)
faddp st(2)
fld dword [esp + 0x50]
fld st(0)
fmul st(5)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x4c]
fmulp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x10]
fsubr st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x4c]
fsubr qword [0x532fc0]
fstp dword [esp + 0x4c]
fsub dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x10]
fstp dword [esp + 0xc0]
fld dword [esp + 0x4c]
fstp dword [esp + 0xc4]
fld dword [esp + 0x50]
fstp dword [esp + 0xc8]
call fcn.00445d20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], ecx
fld dword [esp + 0x5c]
mov dword [esp + 0x60], edx
fld dword [esp + 0x60]
mov dword [esp + 0x64], eax
fld dword [esp + 0x64]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x5146d0]
fnstsw ax
test ah, 0x41
jp 0x4c27ac
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
fld dword [esp + 0x3c]
fmul dword [esp + 0x60]
fld dword [esp + 0x5c]
fmul dword [esp + 0x74]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0x64]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [0x533b1c]
fld dword [esp + 0x40]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4c27e7
fstp st(0)
fstp dword [esp + 0x40]
jmp 0x4c27fe
fstp st(1)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4c27fc
fstp dword [esp + 0x40]
jmp 0x4c27fe
fstp st(0)
fld dword [esp + 0x40]
call sub.MSVCR100.dll__CIacos
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov edi, dword [esp + 0xbc]
fstp dword [esp + 0x88]
fld dword [esp + 0x34]
fmul dword [esp + 0x60]
fld dword [esp + 0x5c]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x64]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x533af4]
fnstsw ax
test ah, 5
jp 0x4c2862
fld dword [esp + 0x88]
fchs
fstp dword [esp + 0x88]
jmp 0x4c2862
fstp st(0)
xor esi, esi
cmp ebx, esi
je 0x4c286b
inc dword [ebx + 4]
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x278], 1
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 2
mov ecx, ebx
call eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x27c], 2
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
sar dword [esp + 0x54], 2
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
push 5
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
sar dword [esp + 0x58], 2
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
push ecx
push 7
mov ecx, ebx
call edx
sar dword [esp + 0x40], 2
mov eax, dword [edi + 0x8c]
mov eax, dword [eax + 0x3a4]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], esi
cmp dword [edi + 0x94], esi
jle 0x4c38c3
fld dword [esp + 0x80]
mov dword [esp + 0x74], esi
fld qword [0x533be0]
fldz
mov esi, dword [edi + 0x90]
add esi, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x20], eax
jle 0x4c38a3
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xe8]
mov ebx, dword [esi + 0x1c]
add ebx, dword [esp + 0x70]
fld dword [ebx + 0x54]
fmul dword [ecx + 0xbc]
fld dword [ecx + 0xb8]
fmul dword [ebx + 0x50]
faddp st(1)
fld dword [ebx + 0x58]
fmul dword [ecx + 0xc0]
faddp st(1)
fadd dword [ecx + 0xc4]
fstp dword [esp + 0x98]
fld dword [ebx + 0x54]
fmul dword [ecx + 0xcc]
fld dword [ecx + 0xc8]
fmul dword [ebx + 0x50]
faddp st(1)
fld dword [ebx + 0x58]
fmul dword [ecx + 0xd0]
faddp st(1)
fadd dword [ecx + 0xd4]
fstp dword [esp + 0x9c]
fld dword [ecx + 0xd8]
fmul dword [ebx + 0x50]
fld dword [ebx + 0x54]
fmul dword [ecx + 0xdc]
faddp st(1)
fld dword [ebx + 0x58]
fmul dword [ecx + 0xe0]
faddp st(1)
fadd dword [ecx + 0xe4]
fstp dword [esp + 0xa0]
fld dword [esp + 0xa0]
fld dword [esp + 0xe4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x4c3a16
mov edx, dword [esp + 0xe0]
fld dword [ebx + 0x10]
fmul st(3)
fstp dword [esp + 0x48]
fld dword [edx + 8]
fmul st(1)
fstp qword [esp + 0x1c]
fld dword [edx + 0xc]
fstp qword [esp + 0x194]
fld dword [edx]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fld dword [edx + 4]
fldz
fmul st(1), st(0)
fxch st(3)
faddp st(1)
fadd qword [esp + 0x1c]
fadd qword [esp + 0x194]
fstp dword [esp + 0x1cc]
fld dword [edx + 0x3c]
fst qword [esp + 0x5c]
fld dword [edx + 0x30]
fmulp st(2)
fld dword [edx + 0x34]
fmulp st(3)
fxch st(1)
faddp st(2)
fld dword [edx + 0x38]
fmul st(3)
faddp st(2)
faddp st(1)
fstp dword [esp + 0x1d8]
fld dword [0x533dd0]
fld dword [esp + 0x1d8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x4c3a14
fdivr qword [0x532fc0]
fstp dword [esp + 0x28]
fld dword [esp + 0x1cc]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
fmulp st(5)
fxch st(4)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fst dword [esp + 0x78]
fstp dword [esp + 0xa8]
fxch st(1)
fst dword [esp + 0x7c]
fst dword [esp + 0xa4]
fld dword [edx]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fld dword [edx + 4]
fmul dword [esp + 0x9c]
faddp st(2)
fxch st(1)
fadd qword [esp + 0x1c]
fadd qword [esp + 0x194]
fstp dword [esp + 0xac]
fld dword [edx + 0x1c]
fstp qword [esp + 0xec]
fld st(0)
fmul dword [edx + 0x10]
fld dword [edx + 0x14]
fmul dword [esp + 0x9c]
faddp st(1)
fld dword [edx + 0x18]
fmul st(4)
faddp st(1)
fadd qword [esp + 0xec]
fstp dword [esp + 0xb0]
fld dword [edx + 0x2c]
fst qword [esp + 0x1c4]
fld dword [edx + 0x20]
fmulp st(2)
fld dword [edx + 0x24]
fmul dword [esp + 0x9c]
faddp st(2)
fld dword [edx + 0x28]
fmulp st(4)
fxch st(1)
faddp st(3)
faddp st(2)
fxch st(1)
fstp dword [esp + 0xb4]
fld dword [esp + 0xac]
fmul st(3)
fstp dword [esp + 0xac]
fld dword [esp + 0xb0]
fmul st(3)
fstp dword [esp + 0xb0]
fld dword [esp + 0xb4]
fmul st(3)
fstp dword [esp + 0xb4]
fld dword [esp + 0xac]
fmul dword [esp + 0x80]
fadd dword [esp + 0xdc]
fstp dword [esp + 0xac]
fld dword [esp + 0xd0]
fld dword [esp + 0xb0]
fmul dword [esp + 0xcc]
fsubp st(1)
fstp dword [esp + 0xb0]
fld dword [esp + 0xac]
fstp dword [esp + 0xd4]
fld dword [esp + 0xb0]
fstp dword [esp + 0xd8]
fld dword [ebx + 8]
fadd dword [esp + 0x88]
fstp dword [esp + 0x24]
fld dword [ebx + 0xc]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x4c2cc6
fld dword [esp + 0x24]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c2cc4
fstp st(3)
push ecx
fstp st(0)
fstp st(0)
fstp dword [esp]
call fcn.004098f0
fstp dword [esp + 0x38]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.00409930
fstp dword [esp + 0x28]
add esp, 4
fld dword [esp + 0x34]
fld st(0)
fld dword [esp + 0x38]
fld st(0)
fmulp st(2)
fld dword [esp + 0x24]
fld st(0)
fldz
fmul st(1), st(0)
fld st(4)
fsub st(2)
fstp dword [esp + 0x34]
fxch st(2)
fmulp st(3)
fxch st(4)
fmulp st(1)
fld st(0)
fadd st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fstp dword [esp + 0x114]
mov ecx, dword [esp + 0x114]
fld dword [esp + 0x24]
mov dword [esp + 0x78], ecx
fstp dword [esp + 0x118]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x7c], edx
fsubrp st(1)
fstp dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fstp dword [esp + 0x11c]
mov eax, dword [esp + 0x11c]
fld dword [esp + 0x24]
mov dword [esp + 0xa4], eax
fstp dword [esp + 0x120]
mov ecx, dword [esp + 0x120]
fld dword [esp + 0x28]
fld qword [0x533be0]
fldz
jmp 0x4c3313
fstp st(0)
fld dword [ebx + 0xc]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4c331a
fstp st(2)
lea esi, [esp + 0x8c]
fstp st(0)
lea edi, [esp + 0x1dc]
fld dword [ebx + 0x44]
fmul dword [ecx + 0xb8]
fld dword [ecx + 0xbc]
fmul dword [ebx + 0x48]
faddp st(1)
fld dword [ecx + 0xc0]
fmul dword [ebx + 0x4c]
faddp st(1)
fstp dword [esp + 0x12c]
fld dword [ebx + 0x44]
fmul dword [ecx + 0xc8]
fld dword [ebx + 0x48]
fmul dword [ecx + 0xcc]
faddp st(1)
fld dword [ecx + 0xd0]
fmul dword [ebx + 0x4c]
faddp st(1)
fstp dword [esp + 0x130]
fld dword [ebx + 0x44]
fmul dword [ecx + 0xd8]
fld dword [ecx + 0xdc]
fmul dword [ebx + 0x48]
faddp st(1)
fld dword [ebx + 0x4c]
fmul dword [ecx + 0xe0]
faddp st(1)
fstp dword [esp + 0x134]
fld dword [ebx + 0xc]
fstp dword [esp + 0x34]
fld dword [esp + 0x12c]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld st(0)
fmul dword [esp + 0x130]
fstp dword [esp + 0x38]
fmul dword [esp + 0x134]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fchs
fstp dword [esp + 0x8c]
fld dword [esp + 0x24]
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
call fcn.00445d20
fld dword [eax]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [eax + 4]
fmul st(1)
fstp dword [esp + 0x2c]
fmul dword [eax + 8]
fstp dword [esp + 0x18]
fld dword [esp + 0x48]
fst dword [esp + 0x140]
mov edx, dword [esp + 0x140]
fld dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
fst dword [esp + 0x144]
mov eax, dword [esp + 0x144]
fld dword [esp + 0x18]
mov dword [esp + 0x90], eax
fst dword [esp + 0x148]
mov ecx, dword [esp + 0x148]
fld dword [esp + 0x98]
mov dword [esp + 0x94], ecx
fld st(0)
fld dword [esp + 0x24]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 0x18]
fld dword [esp + 0x9c]
fld dword [esp + 0x38]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0x2c]
fld dword [esp + 0xa0]
fsub dword [esp + 0x34]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fadd st(6)
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fadd st(5)
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fadd st(4)
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fstp dword [esp + 0x154]
mov edx, dword [esp + 0x154]
fld dword [esp + 0x2c]
mov dword [esp + 0x1f4], edx
fstp dword [esp + 0x158]
mov eax, dword [esp + 0x158]
fld dword [esp + 0x1c]
mov dword [esp + 0x1f8], eax
fstp dword [esp + 0x15c]
mov ecx, dword [esp + 0x15c]
fxch st(1)
mov dword [esp + 0x1fc], ecx
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x18]
fld dword [esp + 0x9c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x2c]
fld dword [esp + 0x34]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x1c]
fld dword [esp + 0x18]
fadd st(6)
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fadd st(5)
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fadd st(4)
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fstp dword [esp + 0x168]
mov edx, dword [esp + 0x168]
fld dword [esp + 0x2c]
mov dword [esp + 0x200], edx
fstp dword [esp + 0x16c]
mov eax, dword [esp + 0x16c]
fld dword [esp + 0x1c]
mov dword [esp + 0x204], eax
fstp dword [esp + 0x170]
mov ecx, dword [esp + 0x170]
fxch st(2)
mov dword [esp + 0x208], ecx
fstp dword [esp + 0x1c]
fstp dword [esp + 0x18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fsub st(3)
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
xor esi, esi
fsub st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
fsub st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x100]
mov edx, dword [esp + 0x100]
fld dword [esp + 0x18]
mov dword [esp + 0x20c], edx
fstp dword [esp + 0x104]
mov eax, dword [esp + 0x104]
fld dword [esp + 0x2c]
mov dword [esp + 0x210], eax
fstp dword [esp + 0x108]
mov ecx, dword [esp + 0x108]
fld dword [esp + 0x24]
mov dword [esp + 0x214], ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x48]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x1c]
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
fsubr dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fstp dword [esp + 0xc0]
mov edx, dword [esp + 0xc0]
fld dword [esp + 0x18]
mov dword [esp + 0x218], edx
fstp dword [esp + 0xc4]
mov eax, dword [esp + 0xc4]
fld dword [esp + 0x2c]
mov dword [esp + 0x21c], eax
fstp dword [esp + 0xc8]
mov ecx, dword [esp + 0xc8]
fld qword [esp + 0xec]
mov dword [esp + 0x220], ecx
fld dword [esp + 0x80]
lea edx, [esp + 0x1fc]
lea ecx, [esp + 0x22c]
fld dword [edx]
fld dword [esp + 0xe4]
fcompp
fnstsw ax
test ah, 0x41
je 0x4c3a01
mov eax, dword [esp + 0xe0]
fld dword [edx - 8]
fstp dword [esp + 0x1c]
fld dword [edx - 4]
fstp dword [esp + 0x18]
fld dword [edx]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [eax]
fld dword [esp + 0x18]
fld st(0)
fmul dword [eax + 4]
faddp st(2)
fld dword [esp + 0x2c]
fld st(0)
fmul dword [eax + 8]
faddp st(3)
fxch st(2)
fadd qword [esp + 0x194]
fstp dword [esp + 0x1ac]
fld st(2)
fmul dword [eax + 0x10]
fld st(1)
fmul dword [eax + 0x14]
faddp st(1)
fld st(2)
fmul dword [eax + 0x18]
faddp st(1)
fadd st(5)
fstp dword [esp + 0x1b0]
fld st(2)
fmul dword [eax + 0x20]
fld st(1)
fmul dword [eax + 0x24]
faddp st(1)
fld st(2)
fmul dword [eax + 0x28]
faddp st(1)
fadd qword [esp + 0x1c4]
fstp dword [esp + 0x1b4]
fld dword [eax + 0x30]
fmulp st(3)
fmul dword [eax + 0x34]
faddp st(2)
fmul dword [eax + 0x38]
mov eax, dword [esp + 0x1ac]
mov dword [ecx - 8], eax
mov eax, dword [esp + 0x1b0]
faddp st(1)
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x1b4]
mov dword [ecx], eax
fadd qword [esp + 0x5c]
fstp dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b8]
mov dword [ecx + 4], eax
fld dword [ecx + 4]
fstp dword [esp + 0x1c]
fld dword [0x5146d0]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x4c39ff
fdivr qword [0x532fc0]
inc esi
add edx, 0xc
add ecx, 0x10
fstp dword [esp + 0x1c]
fld dword [ecx - 0x18]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ecx - 0x18]
fld st(0)
fmul dword [ecx - 0x14]
fstp dword [ecx - 0x14]
fld dword [ecx - 0x10]
fmul st(1)
fstp dword [ecx - 0x10]
fmul dword [ecx - 0xc]
fstp dword [ecx - 0xc]
fld dword [ecx - 0x18]
fmul st(1)
fadd dword [esp + 0xdc]
fstp dword [ecx - 0x18]
fld dword [esp + 0xd0]
fld dword [ecx - 0x14]
fmul dword [esp + 0xcc]
fsubp st(1)
fstp dword [ecx - 0x14]
cmp esi, 4
jl 0x4c3098
fstp st(1)
mov esi, dword [esp + 0x50]
fstp st(0)
fld dword [esp + 0x244]
fld st(0)
fld dword [esp + 0x234]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x248]
fld st(0)
fld dword [esp + 0x238]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fld qword [0x533be0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1a4]
fld dword [esp + 0x18]
mov dword [esp + 0x78], ecx
fmul st(1)
fstp dword [esp + 0x1a8]
mov edx, dword [esp + 0x1a8]
fld dword [esp + 0x224]
mov dword [esp + 0x7c], edx
fld st(0)
fsubp st(5)
fxch st(4)
fstp dword [esp + 0x1c]
fld dword [esp + 0x228]
fld st(0)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x1bc]
mov eax, dword [esp + 0x1bc]
fld dword [esp + 0x18]
mov dword [esp + 0xa4], eax
fmul st(1)
fstp dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1c0]
fxch st(3)
faddp st(4)
fxch st(3)
fmul st(2)
fstp dword [esp + 0x1c]
faddp st(2)
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fstp dword [esp + 0x180]
mov edx, dword [esp + 0x180]
fld dword [esp + 0x18]
mov dword [esp + 0xd4], edx
fstp dword [esp + 0x184]
mov eax, dword [esp + 0x184]
fld dword [esp + 0x28]
mov dword [esp + 0xd8], eax
fldz
fxch st(1)
fxch st(2)
fxch st(1)
mov dword [esp + 0xa8], ecx
fld dword [esp + 0xa4]
mov ecx, dword [esp + 0x14]
fld st(0)
fld dword [esp + 0x78]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 0x124]
fld dword [esp + 0xa8]
fld st(0)
fadd dword [esp + 0x7c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp + 0x128]
fld st(1)
fsub st(3)
fstp dword [esp + 0x10c]
fld dword [esp + 0x7c]
fsub st(1)
fstp dword [esp + 0x110]
fld dword [esp + 0x34]
fstp dword [esp + 0x138]
fld dword [esp + 0x24]
fstp dword [esp + 0x13c]
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0x18c]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x190]
fld dword [esp + 0xd4]
fld st(0)
fsub dword [esp + 0x124]
fstp dword [esp + 0x14c]
fld dword [esp + 0xd8]
fld st(0)
fsub dword [esp + 0x128]
fstp dword [esp + 0x150]
fld st(1)
fadd dword [esp + 0x10c]
fstp dword [esp + 0x174]
fld dword [esp + 0x110]
fadd st(1)
fstp dword [esp + 0x178]
fld st(1)
fadd dword [esp + 0x138]
fstp dword [esp + 0xf8]
fld dword [esp + 0x13c]
fadd st(1)
fstp dword [esp + 0xfc]
fld dword [esp + 0x18c]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x160]
fadd dword [esp + 0x190]
fstp dword [esp + 0x164]
fld dword [esp + 0x14c]
fst dword [ecx]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x150]
fst dword [edx + 4]
mov eax, dword [esp + 0x14]
fld dword [esp + 0xb4]
fst dword [eax + 8]
mov ecx, dword [esp + 0x14]
fxch st(5)
fst dword [ecx + 0xc]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x174]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
fstp dword [eax]
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x178]
fstp dword [ecx + 4]
mov edx, dword [esp + 0x14]
fxch st(5)
fst dword [edx + 8]
mov eax, dword [esp + 0x14]
fxch st(5)
fst dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
fld dword [esp + 0xf8]
lea eax, [edx + ecx*4]
mov dword [esp + 0x14], eax
fst dword [eax]
mov eax, dword [esp + 0x14]
fld dword [esp + 0xfc]
fstp dword [eax + 4]
mov ecx, dword [esp + 0x14]
fxch st(6)
fst dword [ecx + 8]
mov edx, dword [esp + 0x14]
fxch st(1)
fst dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
fxch st(3)
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
fstp dword [eax]
mov edx, dword [esp + 0x14]
fxch st(1)
fstp dword [edx + 4]
mov eax, dword [esp + 0x14]
fst dword [eax + 8]
mov ecx, dword [esp + 0x14]
fxch st(1)
fst dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
fxch st(4)
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
fstp dword [eax]
mov ecx, dword [esp + 0x14]
fld dword [esp + 0xfc]
fstp dword [ecx + 4]
mov edx, dword [esp + 0x14]
fst dword [edx + 8]
mov eax, dword [esp + 0x14]
fxch st(3)
fst dword [eax + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x160]
lea eax, [edx + ecx*4]
mov dword [esp + 0x14], eax
fstp dword [eax]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x164]
fstp dword [eax + 4]
mov ecx, dword [esp + 0x14]
fxch st(3)
fstp dword [ecx + 8]
mov edx, dword [esp + 0x14]
fxch st(2)
fstp dword [edx + 0xc]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*4]
mov dword [esp + 0x14], edx
fld dword [ebx + 0x20]
fld qword [0x533c48]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(3)
fnstsw ax
test ah, 5
jp 0x4c359e
fstp st(0)
fxch st(2)
fst dword [esp + 0x24]
fld dword [0x533d10]
jmp 0x4c35c5
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4c35b5
fstp st(0)
fld dword [0x533d10]
fst dword [esp + 0x24]
jmp 0x4c35bf
fstp dword [esp + 0x24]
fld dword [0x533d10]
fxch st(1)
fxch st(3)
fxch st(1)
fld dword [ebx + 0x1c]
fmul st(4)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4c35e5
fstp st(0)
fxch st(1)
fst dword [esp + 0x38]
jmp 0x4c35fc
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x4c35f6
fstp st(0)
fst dword [esp + 0x38]
jmp 0x4c35fa
fstp dword [esp + 0x38]
fxch st(1)
fld dword [ebx + 0x18]
fmul st(4)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4c361a
fstp st(0)
fst dword [esp + 0x48]
jmp 0x4c362d
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x4c3651
fstp st(0)
fxch st(1)
fst dword [esp + 0x48]
fxch st(1)
fld dword [ebx + 0x30]
fmul st(4)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4c3657
fstp st(4)
fstp st(3)
fstp st(0)
fxch st(1)
fst dword [esp + 0x28]
jmp 0x4c3670
fstp dword [esp + 0x48]
jmp 0x4c362d
fcom st(4)
fnstsw ax
fstp st(4)
test ah, 0x41
jne 0x4c3666
fstp st(3)
jmp 0x4c366a
fstp st(1)
fxch st(2)
fstp dword [esp + 0x28]
fxch st(1)
fld dword [esp + 0x28]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
shl ecx, 8
fldcw word [esp + 0x28]
fld dword [esp + 0x48]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
add ecx, eax
shl ecx, 8
fldcw word [esp + 0x28]
fld dword [esp + 0x38]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [esp + 0x44]
shl ecx, 8
fldcw word [esp + 0x28]
fld dword [esp + 0x24]
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
add ecx, eax
mov dword [edx], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
fldcw word [esp + 0x28]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax*4]
mov dword [esp + 0x44], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x44], edx
mov ebx, dword [ebx + 0x40]
lea eax, [ebx + ebx]
fld dword [ecx + eax*4]
fstp dword [esp + 0x1c]
fld dword [ecx + eax*4 + 4]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x188]
add dword [esp + 0x3c], 6
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fxch st(1)
fst dword [eax]
mov ecx, dword [esp + 0x30]
fxch st(1)
fst dword [ecx + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
fld dword [esp + 0x1c]
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
fst dword [eax]
mov ecx, dword [esp + 0x30]
fxch st(1)
fst dword [ecx + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
fxch st(1)
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
fst dword [eax]
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x18]
fst dword [ecx + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
fxch st(3)
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
fst dword [eax]
mov ecx, dword [esp + 0x30]
fxch st(2)
fstp dword [ecx + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
fstp dword [eax]
mov ecx, dword [esp + 0x30]
fxch st(1)
fst dword [ecx + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
fxch st(1)
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
fstp dword [eax]
mov ecx, dword [esp + 0x30]
fstp dword [ecx + 4]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
fld dword [esp + 0x80]
lea ecx, [eax + edx*4]
fxch st(2)
mov dword [esp + 0x30], ecx
fxch st(1)
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x70], 0xffffff80
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esi + 0x20]
jl 0x4c293c
mov ebx, dword [esp + 0x84]
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0x10]
add dword [esp + 0x74], 0x28
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x94]
jl 0x4c291b
fstp st(0)
fstp st(0)
fstp st(0)
mov edx, dword [ebx]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x70]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x278], 3
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
or eax, 0xffffffff
mov dword [esp + 0x278], eax
add dword [ebx + 4], eax
jne 0x4c38fe
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x84]
mov ecx, ebx
call edx
test eax, eax
jle 0x4c39d9
mov eax, dword [edi + 0x8c]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebx
call eax
mov eax, dword [edi + 0x8c]
mov esi, dword [eax + 0x37c]
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
mov dword [esp + 0x84], esi
mov dword [esp + 0xec], esi
call eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x278], 4
mov dword [esp + 0x3c], 0
test eax, eax
jle 0x4c39c5
mov eax, dword [edi + 0x8c]
mov esi, dword [eax + 0x37c]
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x54]
push eax
mov ecx, esi
mov dword [esp + 0x180], esi
call edx
mov byte [esp + 0x278], 5
mov eax, dword [ebx]
mov edx, dword [eax + 0x5c]
mov ecx, ebx
call edx
mov byte [esp + 0x278], 4
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0xf0]
jl 0x4c3969
mov esi, dword [esp + 0x84]
mov dword [esp + 0x278], 0xffffffff
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004ffd1c
mov esp, ebp
pop ebp
ret 4
fstp st(0)
mov esi, dword [esp + 0x50]
fstp st(1)
fld qword [0x533be0]
fldz
jmp 0x4c387e
fstp st(0)
fstp st(0)
jmp 0x4c387e