Function at 0x1004b3d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0xc]
xor ebp, ebp
cdq
sub eax, edx
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esi + 0x20]
sar eax, 1
mov dword [esp + 0x14], edi
test edi, edi
je 0x1004b4a6
test eax, eax
jle 0x1004b57f
mov eax, dword [ebx + 8]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
lea ecx, [ecx + ebp*2]
mov edx, dword [edi + ecx*4]
mov ecx, dword [edi + ecx*4 + 4]
xor edi, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x1004b489
mov eax, dword [ebx]
lea eax, [eax + edi*2]
lea esi, [eax + ecx]
lea ecx, [eax + edx]
movzx eax, byte [esi + 1]
movzx edx, byte [ecx + 1]
add edx, eax
movzx eax, byte [ecx]
movzx ecx, byte [esi]
add eax, 2
add edx, eax
mov eax, dword [esp + 0x18]
add ecx, edx
shr ecx, 2
mov eax, dword [eax + 0x20]
mov eax, dword [eax + ebp*4]
mov byte [edi + eax], cl
inc edi
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov esi, eax
sar esi, 1
cmp edi, esi
jl 0x1004b433
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x20]
mov dword [esp + 0x14], edi
jmp 0x1004b48d
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
inc ebp
cdq
sub eax, edx
sar eax, 1
cmp ebp, eax
jl 0x1004b410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov dword [esp + 0x14], ebp
test eax, eax
jle 0x1004b57f
mov eax, dword [ebx + 8]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
nop dword [eax]
mov eax, dword [ebx + 4]
lea edx, [eax + ebp*2]
mov eax, dword [esi + 0x28]
mov edi, dword [eax + edx*4]
mov edx, dword [eax + edx*4 + 4]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
cmp eax, 2
jne 0x1004b587
xor ebp, ebp
test ecx, ecx
jle 0x1004b716
nop
mov eax, dword [ebx]
lea eax, [eax + ebp*2]
movzx ecx, byte [edi + eax*4 + 3]
lea esi, [edx + eax*4]
movzx edx, byte [esi + 7]
lea edi, [edi + eax*4]
movzx eax, byte [esi + 3]
add ecx, eax
movzx eax, byte [edi + 7]
add eax, 2
add ecx, eax
movzx eax, byte [esi + 4]
add edx, ecx
movzx ecx, byte [edi + 4]
add ecx, eax
shl edx, 0x16
movzx eax, byte [esi]
and edx, 0xff000000
add ecx, eax
movzx eax, byte [edi]
add ecx, 2
mov edi, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x14]
shr eax, 2
or edx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4]
mov dword [eax + ebp*4], edx
inc ebp
mov eax, dword [ebx + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
cmp ebp, ecx
jl 0x1004b4f0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
inc ebp
cdq
sub eax, edx
mov dword [esp + 0x14], ebp
sar eax, 1
cmp ebp, eax
jl 0x1004b4c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp eax, 3
jne 0x1004b642
xor esi, esi
mov dword [esp + 0x14], esi
test ecx, ecx
jle 0x1004b566
nop word [eax + eax]
mov eax, dword [ebx]
lea eax, [eax + esi*2]
lea esi, [edx + eax*4]
movzx ecx, byte [esi + 2]
lea edi, [edi + eax*4]
movzx eax, byte [edi + 2]
movzx edx, byte [esi + 6]
add ecx, eax
movzx eax, byte [edi + 6]
add eax, 2
add ecx, eax
movzx eax, byte [esi + 1]
add edx, ecx
movzx ecx, byte [esi + 5]
add ecx, eax
shl edx, 0xe
movzx eax, byte [edi + 5]
and edx, 0xffff00ff
add ecx, eax
movzx eax, byte [edi + 1]
add ecx, 2
add eax, ecx
movzx ecx, byte [esi + 4]
shl eax, 6
or edx, eax
movzx eax, byte [edi + 4]
add ecx, eax
and edx, 0xffffff00
movzx eax, byte [esi]
mov esi, dword [esp + 0x14]
add ecx, eax
movzx eax, byte [edi]
add ecx, 2
add eax, ecx
mov edi, dword [esp + 0x1c]
shr eax, 2
or edx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ebp*4]
mov dword [eax + esi*4], edx
inc esi
mov eax, dword [ebx + 8]
cdq
sub eax, edx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
cmp esi, ecx
jl 0x1004b5a0
jmp 0x1004b566
xor edi, edi
mov dword [esp + 0x14], edi
test ecx, ecx
jle 0x1004b56a
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + edi*2]
lea edi, [edx + eax*4]
lea edx, [ecx + eax*4]
movzx esi, byte [edi + 7]
movzx eax, byte [edi + 3]
movzx ecx, byte [edx + 3]
add ecx, eax
movzx eax, byte [edx + 7]
add eax, 2
add ecx, eax
movzx eax, byte [edx + 2]
add esi, ecx
movzx ecx, byte [edx + 6]
add ecx, eax
shl esi, 0x16
movzx eax, byte [edi + 6]
and esi, 0xff00ffff
add ecx, eax
movzx eax, byte [edi + 2]
add ecx, 2
add eax, ecx
movzx ecx, byte [edx + 5]
shl eax, 0xe
or esi, eax
movzx eax, byte [edx + 1]
add ecx, eax
and esi, 0xffff00ff
movzx eax, byte [edi + 5]
add ecx, eax
movzx eax, byte [edi + 1]
add ecx, 2
add eax, ecx
movzx ecx, byte [edx + 4]
shl eax, 6
or esi, eax
movzx eax, byte [edi + 4]
add ecx, eax
and esi, 0xffffff00
movzx eax, byte [edx]
add ecx, eax
movzx eax, byte [edi]
mov edi, dword [esp + 0x14]
add ecx, 2
add eax, ecx
shr eax, 2
or esi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ebp*4]
mov dword [eax + edi*4], esi
inc edi
mov eax, dword [ebx + 8]
cdq
sub eax, edx
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x20]
mov ecx, eax
sar ecx, 1
cmp edi, ecx
jl 0x1004b650
jmp 0x1004b566
mov ebp, dword [esp + 0x14]
jmp 0x1004b56a