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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x527c1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
mov eax, dword [0x566450]
push ebx
push esi
push edi
push 0x58
mov dword [esp + 0x200], eax
mov dword [esp + 0x20], ecx
call fcn.004f5012
add esp, 4
xor esi, esi
cmp eax, esi
je 0x4afec2
mov dword [eax + 0x4c], esi
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], esi
mov ebx, eax
mov dword [eax], 0xffffffff
mov byte [eax + 4], 0
mov dword [eax + 0x44], esi
mov dword [esp + 0x20], ebx
jmp 0x4afec8
mov dword [esp + 0x20], esi
mov ebx, esi
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [esp + 0x20c], 0xffffffff
call fcn.004c21c0
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4aff68
lea esp, [esp]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
mov ecx, edi
call fcn.004c3010
lea edx, [esp + 0x38]
push 0x52fba4
push edx
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x4aff2f
lea eax, [esp + 0xf8]
push eax
call fcn.004dcb2f
add esp, 4
mov dword [ebx], eax
jmp 0x4aff5f
lea ecx, [esp + 0x38]
push str.title
push ecx
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x4aff5f
lea eax, [esp + 0xf8]
mov edx, ebx
mov ecx, eax
sub edx, ecx
add edx, 4
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4aff55
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4afef0
mov ecx, dword [esp + 0x1c]
push ebx
push edi
call fcn.004af830
mov ecx, edi
call fcn.004c1fe0
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x52f0a8
test eax, eax
mov dword [esp + 0x20c], 2
mov dword [esp + 0x10], esi
jle 0x4b00af
mov eax, dword [esp + 0x10]
sub esp, 8
mov edx, esp
mov dword [esp + 0x34], esp
push eax
push edx
mov ecx, edi
call fcn.004c20a0
lea ecx, [esp + 0x1c]
call fcn.004131e0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x18]
call fcn.004c2630
cmp byte [esp + 0x78], 0x23
je 0x4b0096
lea edx, [esp + 0x78]
push str.SECTOR
push edx
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x4b0096
lea ecx, [esp + 0x14]
call fcn.004c21c0
mov edi, eax
or ebx, 0xffffffff
xor esi, esi
test edi, edi
jle 0x4b0056
lea esp, [esp]
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.004c3010
lea edx, [esp + 0x38]
push 0x52fba4
push edx
call fcn.004dcb79
add esp, 8
test eax, eax
je 0x4b0044
inc esi
cmp esi, edi
jl 0x4b0010
jmp 0x4b0056
lea eax, [esp + 0xf8]
push eax
call fcn.004dcb2f
add esp, 4
mov ebx, eax
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0xc]
mov dword [esp + 0x34], ebx
call fcn.00494f10
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x4b008f
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4b008f
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004af510
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4affa3
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx]
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
push eax
mov ecx, edi
call fcn.00494f10
mov eax, dword [edi + 4]
cmp dword [esp + 0x24], eax
jne 0x4b00f4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x28], ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.004af240
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], 0x52f0a4
test esi, esi
mov dword [esp + 0x20c], 3
je 0x4b0121
mov eax, esi
xor esi, esi
test eax, eax
mov dword [esp + 0x18], esi
je 0x4b0121
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x18]
test esi, esi
mov dword [esp + 0x20c], 0xffffffff
je 0x4b0136
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1fc]
call fcn.004da561
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4