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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov ecx, dword [eax + 8]
push edi
push eax
mov dword [esp + 0x2c], ecx
call fcn.0046f090
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], eax
add esp, 4
mov eax, dword [edx + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
mov ebp, eax
xor edi, edi
xor esi, esi
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x10], ebx
lea ecx, [eax + ecx*8]
cmp ebp, ecx
mov dword [esp + 0x18], ecx
jae 0x486dbb
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edx
push ebp
call fcn.004870b0
add esp, 0x10
test eax, eax
je 0x486dac
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x40
jl 0x486d87
xor eax, eax
mov edx, SysReAllocString
jmp 0x486d93
mov eax, 1
xor edx, edx
call fcn.004b1760
mov ecx, eax
mov ebx, edx
and ecx, edi
and ebx, esi
or ecx, ebx
mov ebx, dword [esp + 0x10]
jne 0x486dac
inc ebx
or edi, eax
mov dword [esp + 0x10], ebx
or esi, edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
add ebp, 0x28
cmp ebp, eax
jb 0x486d5e
mov ecx, dword [esp + 0x50]
not edi
mov word [ecx + 4], bx
mov eax, dword [edx + 0x38]
mov ebp, dword [edx + 0x3c]
mov edx, dword [esp + 0x1c]
not esi
or esi, 0x80000000
and edi, eax
mov ax, word [edx + 0x26]
and esi, ebp
cmp ax, 0x3f
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
jl 0x486dfb
mov dword [esp + 0x14], 0x3f
jmp 0x486e02
movsx edx, ax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
xor esi, esi
test edx, edx
jle 0x486e3c
mov ecx, esi
mov eax, 1
xor edx, edx
call fcn.004b1760
mov ecx, dword [esp + 0x34]
and eax, edi
and edx, ecx
or eax, edx
je 0x486e27
inc ebx
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x486e0c
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
and ebp, 0x80000000
xor edx, edx
or edx, ebp
je 0x486e55
movsx eax, ax
lea edx, [ebx + eax - 0x3f]
mov dword [esp + 0x10], edx
mov ebx, edx
mov eax, dword [ecx]
or eax, 0x410002
mov dword [ecx], eax
mov ecx, dword [esp + 0x3c]
lea eax, [ebx + ebx*8 + 0x30]
mov edx, dword [ecx]
push eax
push edx
call fcn.004451d0
mov esi, eax
xor ebp, ebp
add esp, 8
cmp esi, ebp
je 0x4870a5
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [eax + 0x10], esi
lea eax, [esi + 0x30]
mov dword [esi + 0x20], eax
mov dword [esi], str.auto_index
lea eax, [eax + ebx*4]
mov dword [esi + 0x24], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], edx
lea ecx, [eax + ebx*4]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x1c], ecx
mov ebx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
cmp ebx, eax
jae 0x486f69
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
push ebx
call fcn.004870b0
add esp, 0x10
test eax, eax
je 0x486f5a
mov ecx, dword [ebx + 0xc]
cmp ecx, 0x40
jl 0x486eef
xor eax, eax
mov edx, SysReAllocString
jmp 0x486efb
mov eax, 1
xor edx, edx
call fcn.004b1760
mov edi, dword [esp + 0x20]
mov ecx, eax
and ecx, edi
mov edi, edx
and edi, dword [esp + 0x24]
or ecx, edi
jne 0x486f56
mov edi, dword [esp + 0x20]
mov ecx, dword [ebx]
or edi, eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x24]
or edi, edx
mov edx, dword [esi + 4]
mov dword [esp + 0x24], edi
mov dword [edx + ebp*4], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.0046e860
add esp, 0xc
test eax, eax
je 0x486f49
mov eax, dword [eax]
jmp 0x486f4e
mov eax, str.BINARY
mov ecx, dword [esi + 0x20]
inc ebp
mov dword [ecx + ebp*4 - 4], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ebx, 0x28
cmp ebx, eax
jb 0x486ec2
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x486fa9
mov ecx, ebx
mov eax, 1
xor edx, edx
call fcn.004b1760
mov ecx, dword [esp + 0x34]
and eax, edi
and edx, ecx
or eax, edx
je 0x486fa0
mov edx, dword [esi + 4]
inc ebp
mov dword [edx + ebp*4 - 4], ebx
mov eax, dword [esi + 0x20]
mov dword [eax + ebp*4 - 4], 0x5104f8
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x486f73
mov ecx, dword [esp + 0x44]
xor eax, eax
mov ecx, dword [ecx + 0x3c]
and ecx, 0x80000000
or eax, ecx
je 0x486ff0
mov edx, dword [esp + 0x1c]
mov ecx, 0x3f
cmp word [edx + 0x26], cx
jle 0x486ff0
lea eax, [ebp*4]
mov edi, dword [esi + 4]
add eax, 4
mov dword [eax + edi - 4], ecx
mov edi, dword [esi + 0x20]
inc ecx
mov dword [eax + edi - 4], 0x5104f8
movsx edi, word [edx + 0x26]
cmp ecx, edi
jl 0x486fd2
mov ebp, dword [esp + 0x3c]
push esi
push ebp
call fcn.00476150
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x30]
push 0xfffffffffffffff0
push eax
mov eax, dword [ebx + 0x20]
inc edx
push 0
push edx
push eax
push 0x29
push edi
call fcn.0046c290
mov ecx, dword [ebx + 0x1c]
push ecx
push 0x48
push edi
call fcn.0046d700
push ebp
mov dword [esp + 0x78], eax
call fcn.0046ccb0
mov edx, dword [esp + 0x84]
mov ebx, eax
push 1
push ebx
mov eax, dword [edx + 0x1c]
push eax
push esi
push ebp
call fcn.00476fd0
mov ecx, dword [esp + 0x98]
add esp, 0x48
mov edx, dword [ecx + 0x20]
push ebx
push edx
push 0x61
push edi
call fcn.0046cc70
push 0x10
push edi
call fcn.0046d1a0
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x1c]
lea eax, [esi + 1]
push eax
push edx
push 0x5f
push edi
call fcn.0046cc70
push 3
push edi
call fcn.0046d1a0
push esi
push edi
call fcn.0046cc90
push ebx
push ebp
call fcn.0046cce0
mov eax, dword [esp + 0x6c]
add esp, 0x40
push eax
push edi
call fcn.0046cc90
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret