Function at 0x48b080
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
movsx edi, word [esp + 0x14]
shl edi, 6
add edi, dword [0x4eaac8]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x48b2ff
xor bx, bx
push eax
call dword [0x4f6aac]
mov esi, eax
movsx eax, bx
lea ebp, [esi + eax*8]
mov ax, word [ebp + 0xbc]
test ax, ax
je 0x48b0d8
mov ecx, dword [esp + 0x14]
push 0
movzx eax, ax
and ecx, 0xffff
shl ecx, 0x10
or eax, ecx
push eax
call fcn.0049cd90
add esp, 8
mov ax, word [ebp + 0xbe]
test ax, ax
je 0x48b101
mov ecx, dword [esp + 0x14]
push 0
movzx eax, ax
and ecx, 0xffff
shl ecx, 0x10
or eax, ecx
push eax
call fcn.0049cd90
add esp, 8
inc bx
cmp bx, 0x80
jl 0x48b0a9
mov eax, dword [esp + 0x14]
push eax
call fcn.0040c310
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.004bc2a0
mov ax, word [esp + 0x18]
add esp, 4
cmp ax, word [0x4f0a78]
jne 0x48b13f
mov eax, dword [esp + 0x14]
push eax
call fcn.004bf670
add esp, 4
lea ebp, [edi + 0x1e]
push ebp
call fcn.004a2220
add esp, 4
test eax, eax
je 0x48b185
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ax, word [esi + 0x12]
and ebx, 0xffff
shl ebx, 0x10
or eax, ebx
push eax
call fcn.0049d960
add esp, 4
cmp eax, dword [ebp]
jne 0x48b185
push 0
xor eax, eax
mov ax, word [esi + 0x12]
or eax, ebx
push eax
call fcn.0049cd90
add esp, 8
lea ebp, [edi + 0x14]
push ebp
call fcn.004a2220
add esp, 4
test eax, eax
je 0x48b1cb
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ax, word [esi + 4]
and ebx, 0xffff
shl ebx, 0x10
or eax, ebx
push eax
call fcn.0049d960
add esp, 4
cmp eax, dword [ebp]
jne 0x48b1cb
push 0
xor eax, eax
mov ax, word [esi + 4]
or eax, ebx
push eax
call fcn.0049cd90
add esp, 8
cmp dword [edi + 0x30], 0
je 0x48b214
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ax, word [esi + 0x4c]
and ebx, 0xffff
shl ebx, 0x10
or eax, ebx
push eax
call fcn.0049d960
add esp, 4
mov ebp, eax
mov ecx, dword [edi + 0x30]
push ecx
call fcn.004a2f30
add esp, 4
cmp ebp, eax
jne 0x48b214
push 0
xor eax, eax
mov ax, word [esi + 0x4c]
or eax, ebx
push eax
call fcn.0049cd90
add esp, 8
cmp dword [edi + 0x34], 0
je 0x48b25d
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ax, word [esi + 0x4e]
and ebx, 0xffff
shl ebx, 0x10
or eax, ebx
push eax
call fcn.0049d960
add esp, 4
mov ebp, eax
mov ecx, dword [edi + 0x34]
push ecx
call fcn.004a2f30
add esp, 4
cmp ebp, eax
jne 0x48b25d
push 0
xor eax, eax
mov ax, word [esi + 0x4e]
or eax, ebx
push eax
call fcn.0049cd90
add esp, 8
mov ax, word [esi + 6]
test ax, ax
je 0x48b283
mov ecx, dword [esp + 0x14]
push 0
movzx eax, ax
and ecx, 0xffff
shl ecx, 0x10
or ecx, eax
push ecx
call fcn.0049cd90
add esp, 8
mov ax, word [esi + 8]
test ax, ax
je 0x48b2af
cmp dword [edi + 0xc], 0
je 0x48b2af
mov ecx, dword [esp + 0x14]
push 0
movzx eax, ax
and ecx, 0xffff
shl ecx, 0x10
or ecx, eax
push ecx
call fcn.0049cd90
add esp, 8
mov eax, dword [esp + 0x14]
push eax
call fcn.0048d090
add esp, 4
mov eax, dword [edi + 0x10]
push eax
call dword [0x4f6aa4]
mov eax, dword [esp + 0x14]
push 0
and eax, 0xffff
shl eax, 0x10
mov al, 1
push eax
call fcn.0049cd90
add esp, 8
mov ecx, dword [edi]
push ecx
call fcn.00479b40
add esp, 4
mov ecx, dword [edi + 4]
push ecx
call fcn.00479b40
add esp, 4
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
pop ebp
pop edi
pop esi
pop ebx
ret