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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x294
mov eax, dword [ebp + 0x30]
push ebx
mov ebx, dword [ebp + 0x34]
test ebx, ebx
push esi
push edi
jne 0x4f8dbf
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
call fcn.004f8be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x80], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x84], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x90], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x98], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea ecx, [esp + 0x128]
add eax, 2
mov edx, 4
movzx esi, byte [eax - 2]
mov dword [esp + 0x18], esi
movzx esi, byte [eax - 1]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
movzx esi, byte [eax]
fmul dword [0x6bdbc4]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
movzx esi, byte [eax + 1]
fmul dword [0x6bdbc4]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
add eax, 4
fmul dword [0x6bdbc4]
add ecx, 0x10
dec edx
fstp dword [esp + 0xe8]
mov esi, dword [esp + 0xe8]
fild dword [esp + 0x18]
mov dword [ecx - 0x10], esi
fmul dword [0x6bdbc4]
fstp dword [esp + 0xec]
mov esi, dword [esp + 0xec]
fxch st(1)
fstp dword [ecx - 0x18]
mov dword [ecx - 0xc], esi
fstp dword [ecx - 0x14]
jne 0x4f8e63
mov edi, dword [ebp + 8]
lea eax, [esp + 0x60]
push eax
lea esi, [edi + 0x20]
lea ecx, [esp + 0x64]
push esi
push ecx
call fcn.00598540
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x80]
push esi
push eax
call fcn.00598540
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x9c]
push esi
push edx
call fcn.00598540
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0xb8]
push esi
push ecx
call fcn.00598540
mov al, byte [ebx + 0x50]
add esp, 0x30
test al, 1
je 0x4f8f71
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x6c]
push edx
push ebx
push edi
lea esi, [esp + 0x1b8]
lea edi, [esp + 0xf8]
call fcn.004febf0
mov dword [esp + 0x18], eax
jmp 0x4f8fa5
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebx
push edi
lea eax, [esp + 0x1bc]
call fcn.004f9280
mov dword [esp + 0x18], eax
test eax, eax
je 0x4f918a
jbe 0x4f900f
lea esi, [esp + 0x1a4]
lea edi, [esp + 0xe2]
mov ebx, eax
nop
fld dword [esi - 4]
fmul dword [0x6bdbc8]
call fcn.00666390
fld dword [esi]
fmul dword [0x6bdbc8]
mov byte [edi - 2], al
call fcn.00666390
fld dword [esi + 4]
fmul dword [0x6bdbc8]
mov byte [edi - 1], al
call fcn.00666390
fld dword [esi + 8]
fmul dword [0x6bdbc8]
mov byte [edi], al
call fcn.00666390
mov byte [edi + 1], al
add esi, 0x10
add edi, 4
dec ebx
jne 0x4f8fc0
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x4f918a
lea edi, [esp + 0x78]
mov ebx, 0x3f800000
lea esp, [esp]