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

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [0x566920]
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 0x4e29ed
mov eax, dword [eax]
jmp 0x4e29ef
mov eax, ebp
mov edi, 0x570b44
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4e2a1c
test cl, cl
je 0x4e2a18
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e2a1c
add eax, 2
add edi, 2
test cl, cl
jne 0x4e29f4
xor eax, eax
jmp 0x4e2a21
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e2a4e
mov eax, dword [esi + 0x178]
test eax, eax
je 0x4e2a33
mov eax, dword [eax]
jmp 0x4e2a35
mov eax, ebp
push 0
push eax
call fcn.004e6e40
add esp, 8
test eax, eax
je 0x4e2d33
mov ebp, dword [0x566920]
mov eax, dword [esi + 0x178]
test eax, eax
je 0x4e2a5c
mov eax, dword [eax]
jmp 0x4e2a5e
mov eax, ebp
mov edi, 0x570b44
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4e2a8b
test cl, cl
je 0x4e2a87
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4e2a8b
add eax, 2
add edi, 2
test cl, cl
jne 0x4e2a63
xor eax, eax
jmp 0x4e2a90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e2aa2
mov al, byte [esi + 0xd0]
test al, al
je 0x4e2d33
mov eax, dword [esi + 0x130]
test eax, eax
jne 0x4e2abf
fld dword [esi + 0x140]
fcomp dword [0x5374c0]
fnstsw ax
test ah, 0x44
jnp 0x4e2ac6
mov ecx, esi
call fcn.004e1870
fld dword [esp + 0x38]
fmul dword [esi + 0x144]
mov ecx, esi
fstp dword [esi + 0x148]
call fcn.004e2910
mov eax, dword [esi + 0x148]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], eax
call dword [0xc04f24]
fld dword [esi + 0x78]
fcomp dword [0x5374c0]
add esp, 4
fnstsw ax
test ah, 0x44
jnp 0x4e2b2a
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.004de050
add esp, 0x18
mov eax, dword [esi + 0xcc]
cmp eax, 3
jne 0x4e2b79
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 0xc05220
fstp dword [esp + 0x40]
push ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.004de470
add esp, 0x18
jmp 0x4e2ba6
test eax, eax
je 0x4e2ba6
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.004de080
add esp, 0x1c
mov eax, dword [esi + 0x120]
mov ebx, 1
test eax, eax
je 0x4e2c8b
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 [0xc04f24]
mov al, byte [esi + 0x15c]
mov edi, dword [esi + 0x120]
add esp, 4
test al, 8
mov al, byte [edi + 9]
je 0x4e2c42
test al, al
jne 0x4e2c28
mov byte [edi + 9], bl
mov eax, dword [edi + 4]
test eax, eax
je 0x4e2c17
mov eax, dword [eax]
jmp 0x4e2c1c
mov eax, dword [0x566920]
push eax
call dword [0xc04f18]
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 [0xc04f30]
add esp, 0x14
jmp 0x4e2c8b
test al, al
jne 0x4e2c65
mov byte [edi + 9], bl
mov eax, dword [edi + 4]
test eax, eax
je 0x4e2c54
mov eax, dword [eax]
jmp 0x4e2c59
mov eax, dword [0x566920]
push eax
call dword [0xc04f18]
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 [0xc04f2c]
add esp, 0x24
mov al, byte [esi + 0x12d]
test al, al
je 0x4e2cb4
mov edi, dword [esi + 0x128]
test edi, edi
je 0x4e2cb4
mov al, byte [edi + 9]
test al, al
jne 0x4e2cdb
mov byte [edi + 9], bl
mov eax, dword [edi + 4]
test eax, eax
je 0x4e2cca
mov eax, dword [eax]
jmp 0x4e2ccf
mov al, byte [esi + 0x12c]
test al, al
je 0x4e2d01
mov edi, dword [esi + 0x124]
test edi, edi
je 0x4e2d01
jmp 0x4e2c9f
mov eax, dword [0x566920]
push eax
call dword [0xc04f18]
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 [0xc04f2c]
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 0x4e2d33
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.004e29b0
inc edi
cmp edi, ebp
jle 0x4e2d17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8