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

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1170]
lea ecx, [esi + 0x1170]
call dword [eax]
mov edx, dword [esi + 0x12b0]
lea ecx, [esi + 0x12b0]
call dword [edx]
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
call dword [eax + 4]
mov edx, dword [esi + 0xbbc]
lea ebp, [esi + 0xbbc]
mov ecx, ebp
call dword [edx + 4]
lea ecx, [esi + 0x13f0]
call fcn.00510580
mov eax, dword [esi + 0x2c]
test ah, 0x40
jne 0x4f166c
fld dword [esi + 0x2650]
call fcn.0078c320
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2670]
xor edx, edx
test eax, eax
mov dword [esp + 0x18], edx
jle 0x4f166c
jmp 0x4f12f2
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x2654]
dec eax
fild dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x2658]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x265c]
fst dword [esp + 0x28]
fld dword [esi + 0x2658]
fsub dword [esi + 0x2650]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x2664]
cmp edx, eax
mov edi, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
fmul dword [edi + 0x44]
fadd st(1)
fstp dword [esp + 0x30]
fstp st(0)
jne 0x4f134a
mov edx, dword [esi + 0x2658]
mov dword [esp + 0x30], edx
mov ebx, dword [ecx]
fld dword [ebx + 4]
fmul dword [0x7cd784]
call fcn.0078c320
fld dword [ebx + 8]
fmul dword [0x7cd784]
mov edi, eax
or edi, 0xffffff00
shl edi, 8
call fcn.0078c320
fld dword [ebx + 0xc]
fmul dword [0x7cd784]
or edi, eax
shl edi, 8
call fcn.0078c320
or edi, eax
mov eax, dword [ebx]
lea ecx, [esp + 0x40]
push eax
push ecx
lea ecx, [esi + 0x1170]
call fcn.0052ef00
fld dword [esp + 0x34]
fsub dword [esp + 0x2c]
push edi
lea edx, [esp + 0x94]
push 0x3f800000
lea eax, [esp + 0xb0]
fmul dword [0x7cd778]
fld dword [esp + 0x4c]
fmul dword [0x7cd778]
push edx
push eax
faddp st(1)
mov ecx, ebp
fadd dword [esp + 0x3c]
fadd dword [0x7cf038]
fld dword [esp + 0x50]
fadd dword [esp + 0x38]
fstp dword [esp + 0xa0]
fst dword [esp + 0xa4]
fld dword [esp + 0x38]
fstp dword [esp + 0xb8]
fstp dword [esp + 0xbc]
call fcn.00534470
mov eax, dword [esi + 0x2630]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x4f161e
cmp dword [esi + 0x262c], ebx
jne 0x4f161e
fld dword [0x7fcfc0]
fmul dword [0x7d73f8]
cmp eax, 1
fld st(0)
fmul dword [0x7cd778]
fstp dword [esp + 0x1c]
fld dword [0x7fcfc0]
fadd st(0), st(0)
fadd st(1)
fadd dword [esp + 0x40]
fadd dword [esp + 0x28]
fstp dword [esp + 0x14]
fstp st(0)
fld dword [esi + 0x265c]
fadd dword [esi + 0x2654]
fmul dword [0x7cd778]
fstp dword [esp + 0x3c]
fld dword [esp + 0x14]
fadd dword [esp + 0x1c]
fst dword [esp + 0x24]
jne 0x4f1554
fstp dword [esp + 0xb8]
fld dword [esp + 0x3c]
fadd dword [esp + 0x1c]
push edi
lea ecx, [esp + 0xbc]
push 0x3f800000
lea edx, [esp + 0x60]
push ecx
push edx
fst dword [esp + 0x28]
fst dword [esp + 0xcc]
fld dword [esp + 0x24]
fsub dword [esp + 0x2c]
mov ecx, ebp
fst dword [esp + 0x20]
fstp dword [esp + 0x68]
fstp dword [esp + 0x6c]
call fcn.00534470
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x3c]
fsub dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov dword [esp + 0xb0], ecx
push edi
lea eax, [esp + 0x74]
push 0x3f800000
fst dword [esp + 0x28]
fstp dword [esp + 0x7c]
lea ecx, [esp + 0xb8]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0xc4], edx
call fcn.00534470
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa0], ecx
push edi
lea eax, [esp + 0x84]
push 0x3f800000
lea ecx, [esp + 0xa8]
push eax
mov dword [esp + 0xb0], edx
push ecx
jmp 0x4f1617
fstp dword [esp + 0x60]
fld dword [esp + 0x3c]
fsub dword [esp + 0x1c]
push edi
lea edx, [esp + 0x64]
push 0x3f800000
lea eax, [esp + 0x70]
push edx
push eax
fst dword [esp + 0x30]
fst dword [esp + 0x74]
fld dword [esp + 0x24]
fsub dword [esp + 0x2c]
mov ecx, ebp
fst dword [esp + 0x20]
fstp dword [esp + 0x78]
fstp dword [esp + 0x7c]
call fcn.00534470
fld dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
fadd dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], edx
push edi
lea ecx, [esp + 0x7c]
push 0x3f800000
fst dword [esp + 0x20]
fstp dword [esp + 0x84]
lea edx, [esp + 0x90]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x9c], eax
call fcn.00534470
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], edx
push edi
lea ecx, [esp + 0x9c]
push 0x3f800000
lea edx, [esp + 0x50]
push ecx
mov dword [esp + 0x58], eax
push edx
mov ecx, ebp
call fcn.00534470
mov ecx, dword [esi + 0x2664]
push 1
push 0
push 1
mov edx, dword [ecx + ebx*4]
lea eax, [esp + 0x34]
push 1
push eax
push 0xff000000
lea eax, [esi + 0x1170]
push edi
push eax
mov eax, dword [edx]
push eax
call fcn.004e8990
fld dword [esp + 0x54]
add esp, 0x24
call fcn.0078c320
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2670]
inc ebx
cmp ebx, eax
mov dword [esp + 0x18], ebx
jl 0x4f12ee
mov eax, dword [esi + 0x2688]
mov ebp, dword [esi + 0x142c]
mov ecx, dword [esi + 0x2644]
cmp ebp, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jge 0x4f1832
mov edx, dword [esi + 0x267c]
mov eax, dword [edx + ebp*4]
fld dword [eax]
fadd dword [esp + 0x14]
fst dword [esp + 0x18]
fcomp dword [esi + 0x264c]
fnstsw ax
test ah, 1
je 0x4f1832
mov ebx, dword [esi + 0x2670]
xor edi, edi
fld dword [esi + 0x2640]
test ebx, ebx
jle 0x4f1770
fld dword [esp + 0x14]
call fcn.0078c320
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
call fcn.0078c320
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x20]
mov ecx, dword [esi + 0x2664]
dec ebx
cmp edi, ebx
mov edx, dword [ecx + edi*4]
fld dword [edx + 0x44]
fld dword [esi + 0x2658]
fsub dword [esi + 0x2650]
fmulp st(1)
jne 0x4f171b
fstp st(0)
fld dword [esi + 0x2648]
fsub st(1)
fld st(1)
call fcn.0078c320
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x28]
fadd st(1)
call fcn.0078c320
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
push ebp
fstp st(0)
fild dword [esp + 0x14]
lea edx, [esp + 0x2c]
mov dword [esp + 0x38], ecx
push edi
push edx
fstp dword [esp + 0x3c]
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.004f1840
mov ebx, dword [esi + 0x2670]
inc edi
fld dword [esp + 0x30]
cmp edi, ebx
jl 0x4f16f2
test ebp, ebp
fstp st(0)
jl 0x4f181d
cmp ebp, dword [esi + 0x2688]
jge 0x4f181d
mov eax, dword [esi + 0x267c]
mov edx, dword [esi]
push 1
mov ecx, dword [eax + ebp*4]
mov bl, byte [ecx + 4]
mov ecx, esi
call dword [edx + 0xc8]
test bl, bl
je 0x4f181d
fld dword [esi + 0x2644]
fcom dword [esp + 0x14]
mov eax, dword [esi + 0x2640]
mov ecx, dword [esi + 0x2648]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
fnstsw ax
test ah, 0x41
je 0x4f17cd
fstp st(0)
fld dword [esp + 0x14]
call fcn.0078c320
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x4c]
fld dword [esp + 0x18]
fld dword [esi + 0x264c]
fst dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4f17fb
fstp st(0)
fld dword [esp + 0x10]
call fcn.0078c320
mov dword [esp + 0x10], eax
lea edx, [esp + 0x48]
fild dword [esp + 0x10]
lea eax, [esi + 0x54]
push edx
push eax
fstp dword [esp + 0x5c]
call fcn.004e8ec0
add esp, 8
mov eax, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
cmp ebp, eax
jl 0x4f168e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret