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

Disassembly:
push 0x20
mov eax, 0x4cddbb
call fcn.0044c311
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
lea edx, [esi + 0x60]
mov ebx, edi
mov dword [ebp - 0x18], edx
cmp dword [esi + 0x7c], edi
jbe 0x485981
cmp byte [esi + 0x60], 0
mov ecx, ebx
mov eax, dword [esi + 0x78]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], edx
je 0x48591f
mov eax, dword [eax + ecx*4]
xor edi, edi
inc edi
jmp 0x485925
mov edi, dword [eax + ecx*4]
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
lea eax, [edx + 0x70]
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0048498f
test edi, edi
je 0x48594b
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0047c9a9
sub edi, 1
jne 0x48593c
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add eax, 0x7c
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0048498f
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x485974
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0047c9a9
sub edi, 1
jne 0x485965
mov esi, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [esi + 0x7c]
jb 0x485903
xor edi, edi
lea edx, [esi + 0x60]
jmp 0x485984
mov dword [ebp - 0x18], edx
mov ebx, edi
cmp dword [esi + 0x18], edi
jbe 0x485acd
mov eax, dword [esi + 0x14]
mov dl, byte [edx]
mov ecx, dword [eax + ebx*8]
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
sub esi, dword [eax + ecx*4]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ebx*8 + 4]
test dl, dl
je 0x4859c2
mov dword [ebp - 0x24], eax
jmp 0x4859c8
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
and dword [ebp - 0x2c], 0
test dl, dl
mov ecx, dword [ebp - 0x20]
mov eax, ecx
cmovne eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
xor eax, eax
test dl, dl
cmovne eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + ebx*4]
call fcn.00487d4c
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x24]
mov eax, dword [esi + 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x485a32
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x4d3c74
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x485a53
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x4d3c74
push ecx
call dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x485a94
test ecx, ecx
je 0x485a94
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x20]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push 0x80000
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x485aa5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test eax, eax
je 0x485ab6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
mov edx, dword [ebp - 0x18]
cmp ebx, dword [esi + 0x18]
jb 0x48598f
lea edx, [esi + 0x60]
mov dword [ebp - 0x18], edx
cmp byte [edx], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x485aec
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.004574f5
jmp 0x485afb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.004574f5
cmp dword [esi + 0x24], edi
jbe 0x485b52
sub dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x30]
sub edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
cmp byte [eax], 0
je 0x485b3c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov ecx, dword [ecx + edx*4]
call fcn.004574f5
jmp 0x485b49
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + edx*4]
call fcn.004574f5
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x485b03
xor eax, eax
call fcn.0044c2da
ret 8