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

Disassembly:
sub esp, 0xd0
mov eax, dword [0xf91614]
mov edx, dword [eax + 8]
push ebx
push ebp
push esi
push edi
lea ecx, [edx + 0x20]
mov dword [eax + 8], ecx
xor eax, eax
push eax
push eax
push eax
push edx
mov edi, edx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x4c]
push edx
mov ecx, 8
push 1
mov edx, 0x54
rep stosd dword es:[edi], eax
call fcn.00515c30
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0xfc]
mov byte [esi + 0x15], 4
mov eax, dword [ebx + 0x7d0]
add esp, 0x18
test eax, eax
mov byte [esp + 0x34], 1
mov dword [esp + 0x14], 0
jbe 0x4f3c91
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
add ebx, 4
mov ebp, 0x1000
lea esp, [esp]
fld dword [0x5befd0]
mov ecx, dword [esp + 0x1c]
fsub dword [ebx + 0xc]
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
fmul dword [0x5bf1bc]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
fstp dword [esp + 0x38]
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
call fcn.00494280
fld dword [ebx - 4]
fld dword [0x5bf178]
mov ecx, dword [esp + 0xf8]
fsubr st(1)
mov edi, eax
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
fst dword [esp + 0x28]
mov eax, edi
fstp dword [esp + 0x50]
shr eax, 0x17
fld dword [esp + 0x20]
and eax, 0x1fe
fadd dword [0x5bf1b8]
mov dword [esp + 0x58], ecx
mov ecx, eax
add esp, 0x10
cmp ecx, 0xff
fst dword [esp + 0x2c]
fstp dword [esp + 0x44]
jbe 0x4f3b2c
mov ecx, 0xff
fadd dword [0x5bf178]
shl ecx, 8
mov esi, edi
and esi, 0xff
or ecx, esi
fst dword [esp + 0x68]
shl ecx, 0x10
mov edx, edi
shr edx, 0x10
and edi, 0xff00
or ecx, edi
and edx, 0xff
or ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x70], ecx
mov ecx, eax
cmp ecx, 0xff
mov word [esp + 0x50], 0
mov word [esp + 0x52], bp
jbe 0x4f3b8d
mov ecx, 0xff
fld dword [esp + 0x10]
shl ecx, 8
fsub dword [0x5bf1b8]
or ecx, esi
shl ecx, 0x10
or ecx, edi
or ecx, edx
fst dword [esp + 0x94]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x98], ecx
mov ecx, eax
cmp ecx, 0xff
mov word [esp + 0x78], bp
mov word [esp + 0x7a], bp
jbe 0x4f3be3
mov ecx, 0xff
shl ecx, 8
fxch st(1)
or ecx, esi
fstp dword [esp + 0xb8]
shl ecx, 0x10
or ecx, edi
fstp dword [esp + 0xbc]
or ecx, edx
mov dword [esp + 0xa8], ecx
xor ecx, ecx
cmp eax, 0xff
mov word [esp + 0xa0], cx
mov word [esp + 0xa2], cx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xc0], ecx
jbe 0x4f3c32
mov eax, 0xff
shl eax, 8
or eax, esi
shl eax, 0x10
or eax, edi
or eax, edx
push 0
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0xd8], eax
push 4
lea eax, [esp + 0x3c]
push eax
mov word [esp + 0xd8], bp
mov word [esp + 0xda], 0
call fcn.0050b880
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 0x7d0]
inc eax
add ebx, 0x14
cmp eax, edx
mov dword [esp + 0x14], eax
jb 0x4f3aa0
mov esi, dword [esp + 0x30]
mov ebx, ecx
call fcn.00515d10
test esi, esi
je 0x4f3cad
mov dx, word [ebx + 0x7e0]
mov eax, 0x1fc30
mov ecx, esi
call fcn.0050cfd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 8