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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
fld qword [0x583c88]
fmul qword [0x555fe0]
push ebx
push esi
push edi
xor esi, esi
push 0xc0
push 1
fstp qword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.00547150
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x4f0eb3
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], esi
cmp ecx, esi
je 0x4f0ef5
mov eax, dword [ebp + 0x38]
cmp eax, esi
je 0x4f0ed8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xa4], eax
jmp 0x4f0f79
push ecx
call fcn.00448bb0
add esp, 4
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x4f0ec9
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x5833d8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x14
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 2
rep movsb byte es:[edi], byte [esi]
mov edi, 0x56cb50
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x30]
mov ecx, dword [ebp + 0x14]
push eax
push ecx
push edx
call fcn.005471ec
lea eax, [esp + 0x3c]
push eax
call fcn.00547162
add esp, 0x18
mov edi, dword [ebp + 8]
test edi, edi
mov dword [esp + 0x14], edi
je 0x4f105b
jmp 0x4f0f8e
mov edi, dword [esp + 0x14]
test byte [edi], 1
je 0x4f104c
mov ecx, dword [ebp + 0x30]
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
push ebx
push 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push edi
call fcn.004f11e0
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x4f11c9
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x4f11c0
mov dword [0x584b84], esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4f104c
fld qword [esp + 0x18]
fmul qword [0x55d3c0]
fstp qword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push 1
push edi
push eax
push ebx
call fcn.00410340
mov esi, eax
mov eax, dword [0x584b84]
add esp, 0x10
test eax, eax
jne 0x4f0ee9
test esi, esi
je 0x4f1041
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.004894b0
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [esi + 0x38], 1
mov dword [esi + 0xa4], edx
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x4f0ffe
mov edi, dword [esp + 0x14]
mov edi, dword [edi + 0x78]
test edi, edi
mov dword [esp + 0x14], edi
jne 0x4f0f8a
push ebx
call fcn.004888a0
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x10]
push edi
push ebx
push eax
call fcn.004f2490
mov esi, dword [esp + 0x1c]
add esp, 0x10
test esi, esi
je 0x4f1092
push esi
call fcn.004f23b0
mov esi, dword [esi + 0x34]
add esp, 4
test esi, esi
jne 0x4f107e
mov esi, dword [esp + 0xc]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4f1145
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x4f10c1
push eax
push esi
call fcn.004f26f0
add esp, 8
test eax, eax
je 0x4f10c1
mov ecx, dword [esp + 0xc]
push edi
push ebx
push ecx
call fcn.004f2490
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004f2820
mov esi, dword [esp + 0x18]
add esp, 0xc
test esi, esi
je 0x4f1145
fld qword [ebp + 0x18]
fadd st(0), st(0)
fstp qword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esi + 0x34]
push edi
lea eax, [esi + 0x24]
push edx
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.00418a10
add esp, 0x10
test eax, eax
jne 0x4f1127
mov eax, dword [esi]
test ah, 1
je 0x4f113b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
push esi
call fcn.00488de0
mov eax, dword [esi]
add esp, 0xc
test ah, 1
je 0x4f113b
lea edx, [esp + 0xc]
push edx
push esi
call fcn.00488bf0
push esi
call fcn.004888a0
add esp, 0xc
test ebx, ebx
mov esi, ebx
jne 0x4f10eb
mov esi, dword [esp + 0xc]
mov edi, dword [ebp + 0x2c]
test edi, edi
je 0x4f11b6
test esi, esi
je 0x4f11b6
push 1
push esi
call fcn.0049dae0
add esp, 8
cmp edi, 1
jne 0x4f11ab
fld qword [0x583c88]
fmul qword [0x550fb0]
push 0x40240000
push 0
push 0x40b38800
push 0
sub esp, 8
fstp qword [esp]
push esi
call fcn.0049d3e0
fld qword [0x583c88]
fmul qword [0x550fb0]
add esp, 0x1c
push 0x40240000
push 0
sub esp, 8
fstp qword [esp]
push esi
call fcn.0049d930
add esp, 0x14
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x4f1150
mov esi, dword [esp + 0xc]
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
call fcn.00457fa0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004888a0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret