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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
cmp byte [edi + 0x110], 0
jne 0x485a16
mov eax, dword [edi + 0x24]
push ebx
push esi
test eax, eax
jne 0x4856a0
cmp byte [edi + 0x48], al
je 0x485a1d
xor ebx, ebx
cmp dword [edi + 0x38], ebx
jne 0x485a1d
inc eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], eax
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x40], 0x4fa81c
mov dword [ebp - 0x48], 0x6f10701
mov dword [ebp - 0x44], ebx
call fcn.00484a79
push 1
lea ecx, [edi + 0x58]
push 1
call fcn.0047808a
push ebx
lea ecx, [edi + 0x80]
call fcn.0047800e
push ebx
lea ecx, [edi + 0x94]
call fcn.0047800e
lea ecx, [ebp - 0x40]
call fcn.0047929e
jmp 0x4859bc
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edx, ebx
mov dword [ebp - 4], edx
mov esi, ebx
mov dword [ebp - 0x10], esi
test eax, eax
jle 0x485767
mov eax, dword [edi + 0x28]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x38], ebx
jne 0x485745
mov eax, dword [edi + 0x24]
dec eax
cmp esi, eax
jge 0x4856ea
mov eax, dword [ebp - 8]
add eax, ecx
lea ecx, [edi + 0x6c]
push edx
push eax
call fcn.0047805c
mov edx, dword [ebp - 4]
jmp 0x485703
lea esi, [edi + 0x94]
push ebx
mov ecx, esi
call fcn.0048171f
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], 1
cmp eax, 1
jbe 0x485742
mov ebx, dword [ebp - 4]
lea ecx, [edi + 0x94]
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + ebx]
push eax
call fcn.0047800e
mov ecx, dword [ebp - 0x20]
inc edi
cmp edi, esi
jb 0x485723
mov edi, dword [ebp - 0x18]
xor ebx, ebx
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
add dword [ebp - 8], ecx
add edx, eax
push eax
push ecx
lea ecx, [edi + 0x58]
mov dword [ebp - 4], edx
call fcn.0047808a
mov edx, dword [ebp - 4]
inc esi
mov dword [ebp - 0x10], esi
cmp esi, dword [edi + 0x24]
jl 0x4856b7
mov eax, dword [edi + 0x38]
test eax, eax
je 0x485804
mov dword [ebp - 0x10], ebx
jle 0x4857d3
mov ecx, ebx
mov dword [ebp - 0xc], ebx
mov eax, dword [edi + 0x3c]
mov esi, ebx
add eax, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], eax
mov edx, dword [eax]
test edx, edx
je 0x48579d
mov ecx, dword [edi + 0x64]
add esi, dword [ecx]
lea ecx, [ecx + 8]
dec edx
jne 0x485792
mov dword [ebp - 0x14], esi
mov esi, dword [eax + 4]
lea ecx, [edi + 0x58]
push dword [eax + 8]
add esi, dword [ebp - 0x14]
call fcn.00485a86
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0xc]
lea ecx, [edi + 0x6c]
push eax
push esi
call fcn.0047805c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
inc eax
add ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp eax, dword [edi + 0x38]
jl 0x48577c
cmp dword [ebp - 4], 0
mov esi, ebx
jle 0x485804
mov ebx, dword [ebp - 4]
lea eax, [edi + 0x58]
push esi
mov ecx, eax
call fcn.00485a5b
cmp eax, 0xffffffff
jne 0x4857fa
push esi
lea ecx, [edi + 0x94]
call fcn.0047800e
inc esi
lea eax, [edi + 0x58]
cmp esi, ebx
jl 0x4857e1
xor ebx, ebx
cmp dword [ebp - 8], 0
mov esi, ebx
jle 0x48582e
push esi
lea ecx, [edi + 0x58]
call fcn.00485a33
cmp eax, 0xffffffff
jne 0x485826
push esi
lea ecx, [edi + 0x80]
call fcn.0047800e
inc esi
cmp esi, dword [ebp - 8]
jl 0x48580c
xor ebx, ebx
lea eax, [ebp - 0x20]
cmp dword [edi + 0x88], ebx
jne 0x48584a
mov dword [ebp - 0x20], 1
push 0x528504
jmp 0x485a2c
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x8c]
lea esi, [edi + 0x58]
mov ecx, esi
push dword [eax]
call fcn.00478d7d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00485a86
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.00485a5b
mov ecx, eax
test ecx, ecx
js 0x4858b0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x78]
push dword [eax + ecx*8]
mov ecx, esi
call fcn.00478d7d
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00485a86
mov ebx, eax
mov ecx, esi
push ebx
mov dword [ebp - 0xc], ebx
call fcn.00485a5b
mov ecx, eax
test ecx, ecx
jns 0x48587c
xor ebx, ebx
cmp dword [edi + 0x9c], 0
mov ecx, ebx
jle 0x4858f6
mov eax, dword [esi + 0x48]
mov edx, dword [ebp - 0xc]
cmp dword [eax], edx
je 0x4858d3
inc ecx
add eax, 4
cmp ecx, dword [edi + 0x9c]
jl 0x4858c1
jmp 0x4858f6
lea esi, [edi + 0x94]
mov eax, dword [esi]
push 1
push ecx
mov ecx, esi
call dword [eax + 4]
push ebx
mov ecx, esi
call fcn.0048171f
mov eax, dword [esi + 0xc]
lea esi, [edi + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp byte [edi + 0x48], 0
je 0x4859bc
mov ecx, dword [edi + 0x9c]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x485934
lea edx, [edi + 0x6c]
mov esi, ebx
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebp - 8]
add ecx, esi
push dword [eax + esi*4]
push ecx
mov ecx, edx
call fcn.0047805c
inc esi
lea edx, [edi + 0x6c]
cmp esi, dword [ebp - 0x10]
jl 0x485912
lea esi, [edi + 0x58]
lea eax, [edi + 0x94]
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.004816b2
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ebx
jle 0x4859bc
lea ecx, [edi + 0x1c]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x3c], ebx
inc eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x40], 0x4fa81c
mov dword [ebp - 0x48], 0x6f10701
mov dword [ebp - 0x44], ebx
call fcn.00484a79
push 1
push 1
mov ecx, esi
call fcn.0047808a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0047800e
lea ecx, [ebp - 0x40]
call fcn.0047929e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, edi
jl 0x485956
mov edi, dword [ebp - 0x18]
mov esi, dword [edi + 0x24]
dec esi
js 0x4859dd
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0xfc]
mov eax, dword [eax + esi*4]
push dword [eax + 4]
push dword [eax]
call fcn.004780b8
dec esi
jns 0x4859c2
xor ebx, ebx
push 0xa8
call fcn.00481836
pop ecx
test eax, eax
je 0x4859f9
lea ecx, [edi + 0x58]
push ecx
mov ecx, eax
call fcn.00477c30
mov ebx, eax
lea eax, [edi + 0xa8]
mov dword [edi + 0xf8], ebx
push eax
mov ecx, ebx
call fcn.004780e6
pop esi
mov byte [edi + 0x110], 1
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x18]
push 0x528504
push eax
call fcn.004bcf07
int3