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

Disassembly:
push 0xffffffffffffffff
push 0x671fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push edi
xor ebx, ebx
mov edi, ecx
cmp ebp, ebx
mov dword [esp + 0xc], edi
jne 0x4e8c58
xor eax, eax
jmp 0x4e8f4b
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
push 0xa
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x20], 0x69db4c
call fcn.0048b670
mov ecx, dword [esp + 0xa0]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x94], eax
jne 0x4e8d16
mov ecx, ebp
call fcn.004da3a0
cmp eax, ebx
je 0x4e8d16
mov ecx, dword [edi + 0x80]
cmp ecx, ebx
je 0x4e8d16
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0x64]
push esi
mov esi, dword [edi + 0xb4]
test esi, esi
mov dword [esp + 0x18], esi
jle 0x4e8d38
mov eax, dword [edi + 0xb0]
mov ecx, dword [eax + ebx*4]
call fcn.0048ee40
inc ebx
cmp ebx, esi
jl 0x4e8d25
mov ecx, ebp
call fcn.004d8ca0
mov esi, eax
xor ebp, ebp
test esi, esi
mov dword [esp + 0x14], esi
jle 0x4e8d89
mov ecx, dword [esp + 0xa0]
push ebp
call fcn.004d8cb0
mov ebx, eax
mov ecx, ebx
call fcn.0048ee40
cmp eax, 2
je 0x4e8d84
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [esp + 0x24]
call fcn.0048b670
mov ecx, dword [esp + 0x20]
mov dword [ecx + esi*4], ebx
mov esi, dword [esp + 0x14]
inc ebp
cmp ebp, esi
jl 0x4e8d4b
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x4e8f21
mov edx, dword [edi + 0xb0]
lea ebx, [eax*4]
mov ecx, dword [ebx + edx]
call fcn.0048ee40
cmp eax, 2
je 0x4e8f0c
mov ecx, dword [edi + 0xb0]
lea eax, [esp + 0x1c]
push 0
push eax
mov ecx, dword [ebx + ecx]
call fcn.00498e10
mov ebp, eax
test ebp, ebp
je 0x4e8f0c
mov edx, dword [esp + 0x24]
xor eax, eax
test edx, edx
jle 0x4e8e05
mov ecx, dword [esp + 0x20]
cmp ebp, dword [ecx]
je 0x4e8df4
inc eax
add ecx, 4
cmp eax, edx
jl 0x4e8de6
jmp 0x4e8e05
cmp eax, 0xffffffff
je 0x4e8e05
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.005f7dc0
cmp dword [esp + 0xa4], 1
jne 0x4e8e4b
mov eax, dword [edi + 0xb0]
mov esi, ebx
mov ecx, ebp
add esi, eax
call fcn.004fe620
mov ecx, dword [esi]
sub esp, 8
fstp qword [esp]
call fcn.0048fee0
mov ecx, dword [edi + 0xb0]
mov esi, ebx
add esi, ecx
mov ecx, ebp
call fcn.0048ff00
mov ecx, dword [esi]
sub esp, 8
fstp qword [esp]
call fcn.0048ff10
cmp dword [esp + 0xa8], 1
jne 0x4e8f0c
mov edx, dword [edi + 0xb0]
mov ecx, dword [ebx + edx]
call fcn.004da3a0
mov ecx, ebp
mov edi, eax
call fcn.004da3a0
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x68]
lea ecx, [esp + 0x60]
mov esi, eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
push eax
lea ecx, [esp + 0x4c]
call fcn.006578b0
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call dword [edx + 0xdc]
push eax
lea ecx, [esp + 0x34]
call fcn.006578b0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00657490
fcomp qword [0x691ac0]
add esp, 8
fnstsw ax
test ah, 1
je 0x4e8ed6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x154]
test edi, edi
je 0x4e8ee3
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xb0]
mov ecx, dword [ebx + eax]
call fcn.004da3b0
mov ecx, dword [esi + 0xb0]
push 0
push 1
push 1
mov ecx, dword [ebx + ecx]
call fcn.00498b40
mov edi, esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4e8d9b
mov dword [esp + 0x1c], 0x69db38
mov eax, dword [esp + 0x20]
mov dword [esp + 0x98], 2
test eax, eax
pop esi
je 0x4e8f46
push eax
call fcn.0065e732
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x8c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0xc