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

Disassembly:
push 0x20
mov eax, 0x4cdd2b
call fcn.0044c271
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 0x4858f1
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 0x48588f
mov eax, dword [eax + ecx*4]
xor edi, edi
inc edi
jmp 0x485895
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.004848ff
test edi, edi
je 0x4858bb
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0047c919
sub edi, 1
jne 0x4858ac
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add eax, 0x7c
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.004848ff
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x4858e4
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0047c919
sub edi, 1
jne 0x4858d5
mov esi, dword [ebp - 0x1c]
inc ebx
cmp ebx, dword [esi + 0x7c]
jb 0x485873
xor edi, edi
lea edx, [esi + 0x60]
jmp 0x4858f4
mov dword [ebp - 0x18], edx
mov ebx, edi
cmp dword [esi + 0x18], edi
jbe 0x485a3d
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 0x485932
mov dword [ebp - 0x24], eax
jmp 0x485938
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.00487cbc
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 0x4859a2
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 0x4859c3
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 0x485a04
test ecx, ecx
je 0x485a04
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 0x485a15
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test eax, eax
je 0x485a26
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 0x4858ff
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 0x485a5c
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.00457466
jmp 0x485a6b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.00457466
cmp dword [esi + 0x24], edi
jbe 0x485ac2
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 0x485aac
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov ecx, dword [ecx + edx*4]
call fcn.00457466
jmp 0x485ab9
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx + edx*4]
call fcn.00457466
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x485a73
xor eax, eax
call fcn.0044c23a
ret 8