Function at 0x48f690
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x58
lea eax, [esp]
push ebx
mov dword [esp + 4], 0
push esi
push edi
mov esi, dword [esp + 0x68]
push ebp
push eax
push esi
call fcn.0048fff0
add esp, 8
test eax, eax
jne 0x48f9e5
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x78]
test ebx, ebx
mov byte [eax + 0xc2], 1
jne 0x48f6dd
lea edi, [esp + 0x34]
xor eax, eax
mov ecx, 0xd
lea ebx, [esp + 0x34]
rep stosd dword es:[edi], eax
cmp dword [esp + 0x7c], 0
je 0x48f708
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
add ecx, 0xc8
mov eax, dword [edx]
mov dword [ecx], eax
mov ebp, dword [edx + 4]
mov dword [ecx + 4], ebp
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xe4], eax
mov ecx, dword [esp + 0x10]
mov dl, byte [ebx + 0x30]
push str._retrieval
push esi
mov byte [ecx + 0xe8], dl
mov dl, byte [ebx + 0x31]
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0xe9], dl
mov ebp, dword [ebx]
call fcn.004b6de0
add esp, 8
test al, 1
je 0x48f746
or ebp, 2
test al, 2
je 0x48f74d
or ebp, 1
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x10]
mov dl, byte [ebx + 5]
mov byte [eax + 0xc4], dl
mov dl, byte [ebx + 6]
mov eax, dword [esp + 0x10]
test ebp, 8
mov byte [eax + 0xc5], dl
je 0x48f780
mov dword [esp + 0x14], 3
jmp 0x48f7a2
cmp dword [esp + 0x7c], 0
je 0x48f79a
mov eax, dword [esp + 0x7c]
cmp dword [eax], 3
jne 0x48f79a
mov dword [esp + 0x14], 3
jmp 0x48f7a2
mov dword [esp + 0x14], 1
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x48f7f2
test esi, esi
je 0x48f7bc
mov eax, dword [esi + 0xac]
test eax, eax
je 0x48f7bc
mov edx, dword [eax + 0x2c]
jmp 0x48f7be
xor edx, edx
mov eax, dword [esp + 0x10]
push ecx
add eax, 0x8a
push eax
push edx
call fcn.004ade40
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0x8a
cmp byte [eax], 0
je 0x48f7f2
push eax
push esi
call fcn.0048b550
add esp, 8
test eax, eax
jne 0x48f9e5
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48f83e
test esi, esi
je 0x48f80c
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x48f80c
mov ecx, dword [ecx + 0x2c]
jmp 0x48f80e
xor ecx, ecx
push eax
mov eax, dword [esp + 0x14]
add eax, 0x64
push eax
push ecx
call fcn.004ade40
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0x64
cmp byte [eax], 0
je 0x48f83e
push eax
push esi
call fcn.0048b550
add esp, 8
test eax, eax
jne 0x48f9e5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ebx
push ecx
push esi
call fcn.00490170
add esp, 0x10
test eax, eax
jne 0x48f9e5
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x48f8a7
test esi, esi
je 0x48f874
mov eax, dword [esi + 0xac]
test eax, eax
je 0x48f874
mov eax, dword [eax + 0x2c]
jmp 0x48f876
xor eax, eax
push ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x3e
push ecx
push eax
call fcn.004ade40
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0x3e
cmp byte [eax], 0
je 0x48f8fb
push eax
push esi
call fcn.0048b550
add esp, 8
test eax, eax
je 0x48f8fb
jmp 0x48f9e5
cmp dword [ebx + 0x18], 0
je 0x48f8fb
lea edi, [esp + 0x18]
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebx + 0x18]
mov byte [esp + 0x2d], 8
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
mov dl, byte [ebx + 7]
push ecx
mov byte [esp + 0x32], dl
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add eax, 0x3e
push eax
push esi
call fcn.0048b230
add esp, 0xc
test eax, eax
jne 0x48f9e5
mov edi, dword [esp + 0x74]
test edi, edi
jne 0x48f90e
cmp dword [ebx + 0x1c], 0
mov eax, 1
je 0x48f910
xor eax, eax
and ebp, 2
push eax
cmp ebp, 1
mov ecx, dword [ebx + 0x1c]
sbb eax, eax
inc eax
push eax
xor eax, eax
mov al, byte [ebx + 7]
push eax
push ecx
mov eax, dword [esp + 0x20]
add eax, 0xb0
push eax
push esi
call fcn.004a1eb0
add esp, 0x18
test eax, eax
jne 0x48f9e9
test edi, edi
je 0x48f9b3
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x1c]
push eax
cmp ebp, 1
sbb eax, eax
inc eax
push eax
push ecx
mov eax, dword [esp + 0x1c]
add eax, 0x18
push eax
mov eax, dword [esp + 0x20]
add eax, 0x3e
push eax
push 3
push esi
call fcn.0048d6e0
add esp, 8
push eax
mov eax, dword [esp + 0x28]
add eax, 0xe0
push eax
push esi
call fcn.00490ea0
add esp, 0x20
test ax, ax
jne 0x48f9e9
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax + 0xe0]
push ecx
add eax, 0xdc
push eax
push esi
call fcn.00490920
add esp, 0x10
test ax, ax
jne 0x48f9e9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdc]
mov dword [edi], ecx
mov eax, dword [esp + 0x10]
add eax, 0xd8
push eax
push esi
call fcn.004904b0
add esp, 8
test eax, eax
jne 0x48f9e9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
pop ebp
pop edi
pop esi
mov dword [ecx], eax
mov byte [eax + 0xc3], 1
xor eax, eax
pop ebx
add esp, 0x58
ret
mov edi, dword [esp + 0x74]
cmp dword [esp + 0x10], 0
je 0x48f9fe
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.0048fa20
add esp, 8
mov ecx, dword [esp + 0x70]
test edi, edi
mov dword [ecx], 0
je 0x48fa12
mov dword [edi], 0
mov eax, 0xfffffffe
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x58
ret