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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [0x5644f0]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x14], 0x3f800000
mov eax, dword [esi + 0x178]
mov dword [esp + 0x18], 0x3f800000
test eax, eax
mov dword [esp + 0x1c], 0x3f800000
je 0x4e18ed
mov eax, dword [eax]
jmp 0x4e18ef
mov eax, ebp
mov edi, 0x56e704
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4e191c
test cl, cl
je 0x4e1918
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e191c
add eax, 2
add edi, 2
test cl, cl
jne 0x4e18f4
xor eax, eax
jmp 0x4e1921
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e194e
mov eax, dword [esi + 0x178]
test eax, eax
je 0x4e1933
mov eax, dword [eax]
jmp 0x4e1935
mov eax, ebp
push 0
push eax
call fcn.004e5d50
add esp, 8
test eax, eax
je 0x4e1c33
mov ebp, dword [0x5644f0]
mov eax, dword [esi + 0x178]
test eax, eax
je 0x4e195c
mov eax, dword [eax]
jmp 0x4e195e
mov eax, ebp
mov edi, 0x56e704
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4e198b
test cl, cl
je 0x4e1987
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e198b
add eax, 2
add edi, 2
test cl, cl
jne 0x4e1963
xor eax, eax
jmp 0x4e1990
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e19a2
mov al, byte [esi + 0xd0]
test al, al
je 0x4e1c33
mov eax, dword [esi + 0x130]
test eax, eax
jne 0x4e19bf
fld dword [esi + 0x140]
fcomp dword [0x5354b0]
fnstsw ax
test ah, 0x44
jnp 0x4e19c6
mov ecx, esi
call fcn.004e0770
fld dword [esp + 0x38]
fmul dword [esi + 0x144]
mov ecx, esi
fstp dword [esi + 0x148]
call fcn.004e1810
mov eax, dword [esi + 0x148]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], eax
call dword [0xbf3bb4]
fld dword [esi + 0x78]
fcomp dword [0x5354b0]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x4e1a2a
fld dword [esi + 0x148]
fmul dword [esi + 0x78]
mov eax, dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x1c]
lea edx, [esi + 0x6c]
fstp dword [esp]
push edx
push eax
push ecx
push 0
push 0
call fcn.004dcf50
add esp, 0x18
mov eax, dword [esi + 0xcc]
cmp eax, 3
jne 0x4e1a79
fld dword [esi + 0x1c]
mov edx, dword [esi + 0x148]
lea eax, [esi + 0xbc]
fstp dword [esp + 0x28]
fld dword [esi + 0x20]
push edx
push 2
push 2
push eax
lea ecx, [esp + 0x30]
push 0xbf3eb0
fstp dword [esp + 0x40]
push ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.004dd370
add esp, 0x18
jmp 0x4e1aa6
test eax, eax
je 0x4e1aa6
mov edx, dword [esi + 0x148]
cmp eax, 2
mov eax, dword [esi + 0x20]
push edx
lea ecx, [esi + 0x8c]
sete dl
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
push 0
push 0
call fcn.004dcf80
add esp, 0x1c
mov eax, dword [esi + 0x120]
mov ebx, 1
test eax, eax
je 0x4e1b8b
fld dword [esi + 0x88]
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x80]
fmul dword [esi + 0x148]
mov ecx, dword [esi + 0x84]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x24], eax
push edx
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x30]
call dword [0xbf3bb4]
mov al, byte [esi + 0x15c]
mov edi, dword [esi + 0x120]
add esp, 4
test al, 8
mov al, byte [edi + 9]
je 0x4e1b42
test al, al
jne 0x4e1b28
mov byte [edi + 9], bl
mov eax, dword [edi + 4]
test eax, eax
je 0x4e1b17
mov eax, dword [eax]
jmp 0x4e1b1c
mov eax, dword [0x5644f0]
push eax
call dword [0xbf3ba8]
add esp, 4
mov dword [edi], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push edx
push 0
push 0
call dword [0xbf3bc0]
add esp, 0x14
jmp 0x4e1b8b
test al, al
jne 0x4e1b65
mov byte [edi + 9], bl
mov eax, dword [edi + 4]
test eax, eax
je 0x4e1b54
mov eax, dword [eax]
jmp 0x4e1b59
mov eax, dword [0x5644f0]
push eax
call dword [0xbf3ba8]
add esp, 4
mov dword [edi], eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
push 0x3f800000
push 0x3f800000
push 0
push 0
push ecx
push edx
push 0
push 0
call dword [0xbf3bbc]
add esp, 0x24
mov al, byte [esi + 0x12d]
test al, al
je 0x4e1bb4
mov edi, dword [esi + 0x128]
test edi, edi
je 0x4e1bb4
mov al, byte [edi + 9]
test al, al
jne 0x4e1bdb
mov byte [edi + 9], bl
mov eax, dword [edi + 4]
test eax, eax
je 0x4e1bca
mov eax, dword [eax]
jmp 0x4e1bcf
mov al, byte [esi + 0x12c]
test al, al
je 0x4e1c01
mov edi, dword [esi + 0x124]
test edi, edi
je 0x4e1c01
jmp 0x4e1b9f
mov eax, dword [0x5644f0]
push eax
call dword [0xbf3ba8]
mov dword [edi], eax
add esp, 4
mov eax, dword [edi]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
push eax
push 0x3f800000
push 0x3f800000
push 0
push 0
push ecx
push edx
push 0
push 0
call dword [0xbf3bbc]
add esp, 0x24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ebp, dword [esi + 0xe0]
mov edi, ebx
cmp ebp, ebx
jl 0x4e1c33
lea ebx, [esi + 0x14]
mov ecx, dword [esi + 0x148]
mov edx, dword [esi + 0xdc]
push ecx
push ebx
mov ecx, dword [edx + edi*4 - 4]
call fcn.004e18b0
inc edi
cmp edi, ebp
jle 0x4e1c17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8