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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3b4
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0xffffffff
push esi
push edi
mov dword [esp + 0x38], ecx
jne 0x4a651f
mov dword [ebx + 0xb64], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
lea ecx, [ebx + 0x20]
call fcn.005b5070
xor edi, edi
mov esi, eax
fld dword [esi + 0x20]
lea eax, [esi + 0x18]
fsub dword [eax]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*2]
fadd dword [0x7f45a8]
shl eax, 2
mov dword [ebx + 0xb70], edi
mov dword [ebx + 0xb74], edi
fld dword [eax + 0x7f45b0]
mov ecx, dword [eax + 0x7f45ac]
fstp dword [esp + 0x24]
mov dword [esp + 0x140], 0x3f800000
fstp dword [esp + 0x28]
mov dword [esp + 0x144], edi
fld dword [0x8363f0]
mov dword [esp + 0x148], edi
fmul dword [0x784238]
mov dword [esp + 0x14c], edi
mov dword [esp + 0x150], edi
mov dword [esp + 0x154], 0x3f800000
mov dword [esp + 0x158], edi
mov dword [esp + 0x15c], edi
mov dword [esp + 0x160], edi
mov dword [esp + 0x164], edi
mov dword [esp + 0x168], 0x3f800000
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], edi
mov dword [esp + 0x174], edi
mov dword [esp + 0x178], edi
mov dword [esp + 0x17c], 0x3f800000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x100], 0x3f800000
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0x114], 0x3f800000
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], 0x3f800000
mov dword [esp + 0x12c], edi
mov dword [esp + 0x130], edi
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], edi
mov dword [esp + 0x13c], 0x3f800000
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0x104]
push ecx
lea edx, [esp + 0x108]
push edx
call fcn.005bab90
add esp, 0xc
fld dword [esp + 0x120]
fmul dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [esp + 0x100]
faddp st(1)
fld dword [esp + 0x110]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [esp + 0x130]
fld dword [esp + 0x104]
fmul dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
fld dword [esp + 0x124]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x114]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [esp + 0x134]
fld dword [esp + 0x108]
fmul dword [esp + 0x20]
fld dword [esp + 0x128]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x118]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [esp + 0x138]
fstp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
fxch st(1)
mov dword [esp + 0x28], eax
fstp dword [esp + 0x20]
fstp dword [esp + 0x24]
fld dword [ecx + 0x274]
fcom dword [0x78450c]
fnstsw ax
test ah, 1
jne 0x4a6783
jmp 0x4a6770
fsub dword [0x78450c]
fcom dword [0x78450c]
fnstsw ax
test ah, 1
je 0x4a6770
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 5
jp 0x4a67a3
fadd dword [0x78450c]
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 5
jnp 0x4a6790
fmul dword [0x784238]
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
call fcn.0075bc00
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.005bab90
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0xc
push fcn.005d7ab0
push 4
mov dword [esp + 0x78], eax
push 0x10
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0x3f800000
call fcn.00401690
fld dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
fmul dword [esi + 0x18]
mov eax, dword [esp + 0x38]
fld dword [esp + 0x50]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esi + 0x10]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [esi + 0x18]
fld dword [esp + 0x54]
fmul dword [esi + 0x14]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + 0x10]
faddp st(1)
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0xa0]
fstp dword [esp + 0xa4]
fld dword [esi + 0x20]
fsub dword [ecx]
fld dword [0x7f45a8]
lea ecx, [eax + 0x184]
fadd dword [ecx]
mov dword [esp + 0x3c], ecx
fst dword [esp + 0xa8]
fld dword [esp + 0x60]
fmul dword [esi + 0x48]
fld dword [esp + 0x50]
fmul dword [esi + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esi + 0x40]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [esi + 0x48]
fld dword [esp + 0x54]
fmul dword [esi + 0x44]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + 0x40]
faddp st(1)
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0xb0]
fstp dword [esp + 0xb4]
fld dword [esi + 0x50]
fsub dword [esi + 0x48]
fadd st(2)
fstp dword [esp + 0x1c]
fld dword [0x7f45a8]
fadd dword [eax + 0x188]
fst dword [esp + 0xb8]
fadd st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x60]
fmul dword [esi + 0x78]
fld dword [esp + 0x50]
fmul dword [esi + 0x74]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esi + 0x70]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [esi + 0x78]
fld dword [esp + 0x54]
fmul dword [esi + 0x74]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + 0x70]
faddp st(1)
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0xc0]
fstp dword [esp + 0xc4]
fld dword [esi + 0x80]
fsub dword [esi + 0x78]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [0x7f45a8]
fadd dword [eax + 0x18c]
fst dword [esp + 0xc8]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esi + 0xa8]
fld dword [esp + 0x50]
fmul dword [esi + 0xa4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esi + 0xa0]
faddp st(1)
fadd dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [esi + 0xa8]
fld dword [esp + 0x54]
fmul dword [esi + 0xa4]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + 0xa0]
faddp st(1)
fadd dword [esp + 0x74]
fxch st(1)
fstp dword [esp + 0xd0]
fstp dword [esp + 0xd4]
fld dword [esi + 0xb0]
fsub dword [esi + 0xa8]
lea edx, [esp + 0xe0]
push edx
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [0x7f45a8]
fadd dword [eax + 0x190]
fst dword [esp + 0xdc]
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0xa4]
fsub dword [esp + 0xd4]
fld dword [esp + 0xa8]
fsub dword [esp + 0xd8]
fld dword [esp + 0xac]
fsub dword [esp + 0xdc]
fstp dword [esp + 0x1bc]
fld dword [esp + 0xb4]
fsub dword [esp + 0xc4]
fld dword [esp + 0xb8]
fsub dword [esp + 0xc8]
fstp dword [esp + 0x98]
fld dword [esp + 0xbc]
fsub dword [esp + 0xcc]
fstp dword [esp + 0x9c]
fld dword [esp + 0xa4]
fsub dword [esp + 0xb4]
fstp dword [esp + 0x184]
fld dword [esp + 0xa8]
fsub dword [esp + 0xb8]
fstp dword [esp + 0x188]
fld dword [esp + 0xac]
fsub dword [esp + 0xbc]
fstp dword [esp + 0x18c]
fld dword [esp + 0xd4]
fsub dword [esp + 0xc4]
fstp dword [esp + 0x194]
fld dword [esp + 0xd8]
fsub dword [esp + 0xc8]
fstp dword [esp + 0x198]
fld dword [esp + 0xdc]
fsub dword [esp + 0xcc]
fstp dword [esp + 0x19c]
fadd st(2)
fstp dword [esp + 0xe4]
fld dword [esp + 0x98]
fadd st(1)
fstp dword [esp + 0xe8]
fstp st(0)
fstp st(0)
fld dword [esp + 0x9c]
fadd dword [esp + 0x1bc]
fstp dword [esp + 0xec]
fld dword [esp + 0x194]
fadd dword [esp + 0x184]
fstp dword [esp + 0xf4]
fld dword [esp + 0x198]
fadd dword [esp + 0x188]
fstp dword [esp + 0xf8]
fld dword [esp + 0x19c]
fadd dword [esp + 0x18c]
fstp dword [esp + 0xfc]
lea eax, [esp + 0xe4]
push eax
call fcn.0043cf80
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0xfc]
push edx
call fcn.0043cf80
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x1b8]
push edx
call fcn.0043d250
fld dword [esp + 0x38]
fmul dword [0x784d28]
mov eax, dword [esp + 0xfc]
fld dword [esp + 0x1c4]
mov ecx, dword [esp + 0x100]
fabs
mov edx, dword [esp + 0x104]
fxch st(1)
fxch st(1)
mov dword [esp + 0x15c], eax
fdivp st(1)
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x170], ecx
mov ecx, dword [esp + 0x1c0]
mov dword [esp + 0x164], edx
mov edx, dword [esp + 0x114]
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x15c]
mov dword [esp + 0x180], ecx
mov dword [esp + 0x174], edx
mov edx, dword [esp + 0x1c4]
push eax
lea ecx, [ebx + 0x920]
push ecx
mov dword [esp + 0x170], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x18c], edx
mov dword [esp + 0x190], 0
fld dword [esp + 0x3c]
fmul dword [0x784d28]
faddp st(1)
fstp dword [esp + 0x4c]
call fcn.00401310
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x910], edx
mov dword [ebx + 0x914], eax
mov dword [ebx + 0x918], ecx
fld dword [0x7f45a4]
fmul dword [0x784238]
add esp, 0x24
call fcn.0075bc00
mov ebx, dword [esp + 0x8c]
mov ecx, eax
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x3c]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
xor esi, esi
lea esp, [esp]
cmp esi, 0x40
mov ecx, 0x3f800000
lea eax, [esp + esi + 0x2c0]
mov dword [esp + esi + 0x1c0], ecx
mov dword [esp + esi + 0x1c4], edi
mov dword [esp + esi + 0x1c8], edi
mov dword [esp + esi + 0x1cc], edi
mov dword [esp + esi + 0x1d0], edi
mov dword [esp + esi + 0x1d4], ecx
mov dword [esp + esi + 0x1d8], edi
mov dword [esp + esi + 0x1dc], edi
mov dword [esp + esi + 0x1e0], edi
mov dword [esp + esi + 0x1e4], edi
mov dword [esp + esi + 0x1e8], ecx
mov dword [esp + esi + 0x1ec], edi
mov dword [esp + esi + 0x1f0], edi
mov dword [esp + esi + 0x1f4], edi
mov dword [esp + esi + 0x1f8], edi
mov dword [esp + esi + 0x1fc], ecx
mov dword [eax], ecx
mov dword [esp + esi + 0x2c4], edi
mov dword [esp + esi + 0x2c8], edi
mov dword [esp + esi + 0x2cc], edi
mov dword [esp + esi + 0x2d0], edi
mov dword [esp + esi + 0x2d4], ecx
mov dword [esp + esi + 0x2d8], edi
mov dword [esp + esi + 0x2dc], edi
mov dword [esp + esi + 0x2e0], edi
mov dword [esp + esi + 0x2e4], edi
mov dword [esp + esi + 0x2e8], ecx
mov dword [esp + esi + 0x2ec], edi
mov dword [esp + esi + 0x2f0], edi
mov dword [esp + esi + 0x2f4], edi
mov dword [esp + esi + 0x2f8], edi
mov dword [esp + esi + 0x2fc], ecx
jg 0x4a6e63
mov edx, dword [esp + 0x18]
push edx
push eax
push eax
call fcn.005bab90
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + esi + 0x1d0]
push eax
push eax
call fcn.005bab90
add esp, 0x18
mov ecx, 0x3f800000
fld dword [ebx - 4]
mov edx, dword [ebx - 8]
fld dword [ebx]
mov dword [esp + esi + 0x1f0], edx
mov edx, dword [esp + 0x38]
fxch st(1)
fstp dword [esp + esi + 0x1f4]
mov dword [esp + esi + 0x1fc], ecx
fstp dword [esp + esi + 0x1f8]
mov eax, dword [ebx - 8]
fld dword [ebx - 4]
fld dword [ebx]
mov dword [esp + esi + 0x2fc], ecx
mov ecx, dword [esp + 0x1c]
fxch st(1)
fstp dword [esp + esi + 0x2f4]
mov dword [esp + esi + 0x2f0], eax
fstp dword [esp + esi + 0x2f8]
fld dword [ecx]
fld dword [edx + 0x178]
fst dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4a6ed2
fstp st(0)
fld dword [esp + 0x3c]
fld dword [esp + esi + 0x1f8]
mov eax, dword [esp + 0x1c]
fsub st(1)
add eax, 4
add esi, 0x40
add ebx, 0x30
cmp esi, 0x100
fstp dword [esp + esi + 0x1b8]
fld dword [esp + esi + 0x2b8]
mov dword [esp + 0x1c], eax
fsub st(1)
fstp dword [esp + esi + 0x2b8]
fstp st(0)
jl 0x4a6d50
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x1c0]
add ebx, 0x960
mov dword [esp + 0x18], 4
lea esp, [esp]
push esi
push ebx
call fcn.00401310
mov eax, dword [esp + 0x20]
add esp, 8
add esi, 0x40
add ebx, 0x40
dec eax
mov dword [esp + 0x18], eax
jne 0x4a6f30
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x2c0]
add ebx, 0xa60
mov dword [esp + 0x18], 4
push esi
push ebx
call fcn.00401310
mov eax, dword [esp + 0x20]
add esp, 8
add esi, 0x40
add ebx, 0x40
dec eax
mov dword [esp + 0x18], eax
jne 0x4a6f63
mov eax, dword [0x82b884]
cmp dword [eax + 0x74], edi
je 0x4a6ff2
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x234]
cmp dword [eax + 0x2ccc], edi
je 0x4a6ff2
add eax, 0x10
cmp eax, edi
je 0x4a6ff2
push 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call fcn.0048b1b0
mov ecx, dword [esi + 0x220]
mov edx, dword [eax + 0x40]
add esp, 4
push ecx
push edx
mov edx, dword [0x82b884]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edx + 0x74]
call fcn.0049a5e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8