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

Disassembly:
push 0xe4
mov eax, 0x672ada
call fcn.0062f29c
push 0
mov edi, ebx
call fcn.004f26da
test eax, eax
jne 0x4f04cb
mov esi, ebx
call fcn.004f0cf4
jmp 0x4f0cb4
mov esi, dword [ebx + 0xa4]
and dword [ebx + 0x150], 0
xor ecx, ecx
mov eax, esi
mov edx, 0x3d0
mul edx
seto cl
mov byte [ebx + 0x14c], 1
mov dword [ebp - 0x28], esi
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.005ede2b
pop ecx
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x4f0531
push 0x4f0428
push 0x4f0cba
push edi
lea esi, [eax + 4]
push 0x3d0
push esi
mov dword [eax], edi
call fcn.0062c942
or dword [ebp - 4], 0xffffffff
cmp edi, 4
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], esi
mov ecx, dword [eax + 0x11944]
mov dword [ebp - 0x38], ecx
fild dword [ebp - 0x38]
mov eax, dword [eax + 0x11948]
mov dword [ebp - 0x34], eax
fdiv qword [0x6a1590]
fstp dword [ebp - 0x10]
jge 0x4f058c
push 4
pop eax
sub eax, edi
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul qword [0x6a1850]
fld qword [0x6a2630]
fsub st(1)
fldz
fadd st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x3c]
fld qword [0x6a2628]
fsubrp st(2)
faddp st(1)
jmp 0x4f059f
fldz
fld qword [0x6a2630]
fadd st(1)
fstp dword [ebp - 0x3c]
fadd qword [0x6a2628]
fstp dword [ebp - 0x18]
call fcn.004cee12
push eax
call fcn.004fcb30
mov eax, dword [eax + 0xc]
pop ecx
mov ecx, dword [eax + 0x2c0]
mov eax, dword [eax + 0x2c4]
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], esi
jle 0x4f0baf
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x24]
mov edi, ebx
call fcn.004f26da
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4f0b94
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x14]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x18]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x1c]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0x20]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x98]
and dword [eax + 0x20], 0
mov dword [eax + 0x24], edi
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x24]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x2c]
lea ecx, [eax + esi]
push dword [ebx + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x30]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x34]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x38]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x3c]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x40]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x44]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
lea ecx, [eax + esi]
mov eax, dword [ecx]
add edx, 8
push edx
call dword [eax + 0xe0]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi]
mov eax, dword [ecx]
call dword [eax + 0xf0]
fld dword [ebp - 0x10]
fmul qword [0x6a2620]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [ebp - 0x50]
fild dword [ebp - 0x24]
fmul qword [0x6a1850]
mov eax, dword [ebx + 0x10]
fstp qword [ebp - 0x48]
fld dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
fsub qword [ebp - 0x48]
mov dword [eax + esi + 0x3c0], ecx
fmul dword [ebp - 0x10]
fstp dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + esi + 0x3c4], ecx
mov eax, dword [ebx + 0x10]
lea edi, [eax + esi]
fld dword [edi + 0x3c0]
call fcn.00631650
fld dword [edi + 0x3c4]
mov dword [ebp - 0x90], eax
call fcn.00631650
mov edx, dword [edi]
push eax
push dword [ebp - 0x90]
mov ecx, edi
call dword [edx + 0xc8]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x50]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x54]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x58]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0x5c]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x98]
and dword [eax + 0x20], 0
mov dword [eax + 0x24], edi
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x60]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x68]
lea ecx, [eax + esi + 0x1a4]
push dword [ebx + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x6c]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x70]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x74]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x78]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x7c]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x80]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
add edx, 0x24
push edx
call dword [eax + 0xe0]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 0xf0]
fld dword [ebp - 0x14]
mov eax, dword [ebx + 0x10]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
fsub qword [ebp - 0x48]
mov dword [eax + esi + 0x3c8], ecx
fmul dword [ebp - 0x10]
fstp dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov dword [eax + esi + 0x3cc], ecx
mov eax, dword [ebx + 0x10]
lea edi, [eax + esi]
fld dword [edi + 0x3c8]
call fcn.00631650
fld dword [edi + 0x3cc]
mov dword [ebp - 0x98], eax
call fcn.00631650
push eax
push dword [ebp - 0x98]
lea ecx, [edi + 0x1a4]
mov edx, dword [ecx]
call dword [edx + 0xc8]
push 3
pop eax
mov edx, eax
mov dword [ebp - 0x74], 4
push dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
push edx
push eax
pop edx
push edx
push eax
push 2
pop eax
push eax
push 3
pop eax
push eax
mov ecx, dword [ebx + 0x10]
xor eax, eax
inc eax
push eax
push 3
pop eax
push eax
xor eax, eax
push eax
push dword [ebp - 0x80]
lea ecx, [ecx + esi + 0x348]
mov edi, dword [ecx]
push 5
pop eax
push eax
push 6
pop eax
push eax
lea eax, [ebx + 0x354]
push eax
call dword [edi + 0x84]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
call dword [eax + 0x7c]
fld dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x54], 0
je 0x4f0a57
fmul qword [0x6a2618]
call fcn.00631650
fld dword [ebp - 0x18]
fadd qword [ebp - 0x48]
mov edi, eax
fmul dword [ebp - 0x10]
call fcn.00631650
mov ecx, dword [ebx + 0x10]
lea ecx, [ecx + esi + 0x348]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x2c]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xd8]
push edx
call dword [eax + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xd0]
push edx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xe0]
push edx
call dword [eax + 0x34]
fild dword [eax]
fmul dword [ebp - 0x10]
call fcn.00631650
mov edi, eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xf0]
push edx
call dword [eax + 0x30]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xe8]
push edx
call dword [eax + 0x34]
fild dword [eax + 4]
fmul dword [ebp - 0x10]
call fcn.00631650
mov edi, eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xb8]
push edx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
add eax, edi
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x98], 0
je 0x4f0b7f
cmp dword [eax + 0x8c], 0
je 0x4f0b7f
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x1c]
lea ecx, [eax + ecx + 0x348]
mov eax, dword [ecx]
call dword [eax + 0x78]
jmp 0x4f0b91
fmul qword [0x6a2610]
call fcn.00631650
fld dword [ebp - 0x18]
fadd qword [ebp - 0x48]
mov edi, eax
fmul dword [ebp - 0x10]
call fcn.00631650
mov ecx, dword [ebx + 0x10]
lea ecx, [ecx + esi + 0x348]
mov edx, dword [ecx]
push eax
push edi
call dword [edx + 0x2c]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xa0]
push edx
call dword [eax + 0x30]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
push edx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
fild dword [eax]
fmul dword [ebp - 0x10]
call fcn.00631650
mov edi, eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0xb0]
push edx
call dword [eax + 0x30]
mov eax, dword [eax]
add eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc0]
add eax, edi
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
fild dword [eax + 4]
fmul dword [ebp - 0x10]
call fcn.00631650
mov edi, eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea edx, [ebp - 0x88]
push edx
call dword [eax + 0x30]
mov eax, dword [eax + 4]
add eax, edi
add eax, dword [ebp - 0x2c]
sub esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax + esi + 0x348]
mov eax, dword [ecx]
lea esi, [ebp - 0x60]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x1c]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [eax + ecx + 0x348]
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x1c]
lea ecx, [eax + ecx + 0x348]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov esi, dword [ebp - 0x1c]
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add esi, 0x3d0
cmp eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], esi
jl 0x4f05d3
mov edi, dword [ebp - 0x28]
xor eax, eax
push eax
lea ecx, [ebx + 0x158]
mov edx, dword [ecx]
push eax
push eax
call dword [edx]
fld dword [ebp - 0x10]
fmul qword [0x6a1870]
lea ecx, [ebp - 0x88]
lea esi, [ebx + 0x5a8]
mov eax, dword [esi]
push ecx
fstp dword [ebx + 0x644]
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax + 4]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
fadd qword [0x6a1878]
push ecx
mov ecx, esi
fmul dword [ebp - 0x10]
fstp dword [ebx + 0x650]
call dword [eax + 0x1c]
fild dword [eax]
push 4
pop eax
cmp edi, eax
fmul dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
fadd dword [ebx + 0x644]
fstp dword [ebx + 0x64c]
fld dword [ebp - 0x10]
fmul qword [0x6a1878]
fstp dword [ebx + 0x648]
jge 0x4f0c2b
mov dword [ebp - 0x20], edi
cmp edi, eax
fld dword [ebx + 0x664]
fsub dword [ebx + 0x668]
fild dword [ebp - 0x20]
fidiv dword [ebp - 0x28]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fmul st(1)
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fstp dword [ebx + 0x640]
jg 0x4f0c5b
fstp st(0)
fldz
jmp 0x4f0c6d
fsub dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
fidiv dword [ebp - 0x14]
fstp dword [ebx + 0x63c]
lea ecx, [ebx + 0x984]
fld dword [ebx + 0x644]
mov eax, dword [ecx]
fstp dword [ebx + 0x654]
fld dword [ebx + 0x650]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [ebx + 0x660]
fld dword [ebx + 0x64c]
fstp dword [ebx + 0x65c]
fld dword [ebp - 0x14]
fsub dword [ebp - 0x18]
fstp dword [ebx + 0x658]
call dword [eax + 0x78]
call fcn.0062f374
ret