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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1e0
mov eax, dword [0x10210050]
xor eax, esp
mov dword [esp + 0x1dc], eax
movss xmm0, dword [0x10232388]
comiss xmm0, dword [0x102b1de8]
push esi
push edi
jb 0x1004eb6a
mov ecx, dword [0x102ab844]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [0x1027ae68]
mov edi, eax
cmp dword [0x1027ae64], edx
mov ecx, dword [0x102ab844]
cmovne edx, dword [0x1027ae64]
mov dword [0x1027ae68], edx
mov dword [esp + 0x10], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1004eb52
mov eax, dword [0x102a1f78]
mov esi, 1
mov dword [esp + 0x14], esi
cmp dword [eax + 0x18], esi
jl 0x1004eb52
nop dword [eax]
cmp esi, edi
je 0x1004eb3f
mov ecx, dword [0x102ab844]
lea edx, [esp + 0x88]
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x1004eb3f
mov eax, dword [esp + 0x94]
mov ecx, 0x1027ae24
mov edi, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
call fcn.1004f5f0
mov ecx, dword [esp + 0x94]
cmp byte [eax], 0
mov eax, dword [esp + 0x90]
je 0x1004ea01
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, 0x1027adc4
push eax
call fcn.1004f5f0
mov ecx, dword [0x102b1dcc]
push dword [esp + 0xc]
mov byte [eax], 0
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
jmp 0x1004eb3b
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], ecx
push eax
mov ecx, 0x1027ae44
call fcn.1004f8a0
lea edx, [esp + 0x98]
lea esi, [edx + 1]
mov ecx, dword [eax]
add ecx, 0x10
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1004ea30
sub edx, esi
lea eax, [esp + 0x98]
push edx
push eax
call fcn.1003ffa0
mov ecx, dword [0x102b1dcc]
lea edx, [esp + 0x50]
push edx
push dword [esp + 0x10]
mov eax, dword [ecx]
push edi
call dword [eax + 0x18]
cmp byte [esp + 0x50], 0
je 0x1004ea92
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
mov ecx, 0x1027ae24
push eax
call fcn.1004f5f0
mov byte [esp + 0xb], 1
cmp byte [eax], 0
je 0x1004ea97
mov byte [esp + 0xb], 0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], ecx
mov ecx, 0x1027adc4
push eax
call fcn.1004f5f0
mov cl, byte [esp + 0xb]
mov byte [eax], cl
cmp byte [esp + 0x50], 0
je 0x1004eb0a
mov eax, dword [0x1027ae68]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
cmp eax, dword [0x1027ae6c]
je 0x1004eafa
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [0x1027ae68], 8
jmp 0x1004eb0a
lea ecx, [esp + 0x40]
push ecx
push eax
mov ecx, 0x1027ae64
call fcn.10050350
mov esi, dword [esp + 0x94]
lea eax, [esp + 0x64]
mov edi, dword [esp + 0x90]
push esi
push edi
push 0
push eax
call fcn.1004e7c0
push ecx
push esi
push edi
push 0
push 0x24
lea eax, [esp + 0x78]
push eax
call fcn.1004e700
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, dword [0x102a1f78]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [eax + 0x18]
jle 0x1004e970
movss xmm0, dword [0x102b1de8]
addss xmm0, dword [0x101ed4e0]
movss dword [0x102b1de8], xmm0
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
xor ecx, esp
call fcn.1016fd3e
mov esp, ebp
pop ebp
ret