Function at 0x47b420
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [ecx + 8]
mov eax, dword [ecx + 4]
sub eax, ebp
mov dword [esp + 0x18], eax
je 0x47b5e0
mov edx, dword [ecx]
mov ebx, ecx
add edx, ebp
movzx ecx, byte [edx]
test cl, cl
js 0x47b460
movzx esi, cl
xor edx, edx
mov ecx, 1
mov eax, esi
add ecx, ebp
mov dword [ebx + 8], ecx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 1
mov edi, eax
je 0x47b5e0
movzx eax, cl
test cl, 0x40
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 1]
lea esi, [edi - 2]
mov dword [esp + 8], eax
je 0x47b5e5
test esi, esi
je 0x47b5e0
movzx esi, byte [edx + 2]
xor edi, edi
shld edi, esi, 8
shl esi, 8
mov dword [esp + 0x10], esi
or eax, dword [esp + 0x10]
test cl, 0x20
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 8], eax
lea eax, [edi - 3]
je 0x47b642
test eax, eax
je 0x47b5e0
movzx esi, byte [edx + 3]
xor edi, edi
shld edi, esi, 0x10
shl esi, 0x10
mov dword [esp + 0x10], esi
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc]
or eax, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 8], eax
or esi, edi
mov edi, dword [esp + 0x18]
test cl, 0x10
mov dword [esp + 0xc], esi
lea eax, [edi - 4]
je 0x47b651
test eax, eax
je 0x47b5e0
movzx esi, byte [edx + 4]
xor edi, edi
shld edi, esi, 0x18
shl esi, 0x18
mov dword [esp + 0x10], esi
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc]
or eax, esi
mov esi, dword [esp + 0x14]
mov dword [esp + 8], eax
or esi, edi
mov edi, dword [esp + 0x18]
test cl, 8
mov dword [esp + 0xc], esi
lea eax, [edi - 5]
je 0x47b660
test eax, eax
je 0x47b5e0
movzx eax, byte [edx + 5]
or eax, dword [esp + 0xc]
test cl, 4
mov dword [esp + 0xc], eax
lea eax, [edi - 6]
je 0x47b66f
test eax, eax
je 0x47b5e0
movzx eax, byte [edx + 6]
shl eax, 8
or eax, dword [esp + 0xc]
test cl, 2
mov dword [esp + 0xc], eax
lea eax, [edi - 7]
je 0x47b681
test eax, eax
je 0x47b5e0
movzx eax, byte [edx + 7]
shl eax, 0x10
or eax, dword [esp + 0xc]
and ecx, 1
mov dword [esp + 0xc], eax
je 0x47b693
cmp dword [esp + 0x18], 8
je 0x47b5e0
movzx eax, byte [edx + 8]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 8]
shl eax, 0x18
mov ecx, eax
mov eax, esi
or edi, ecx
mov ecx, 9
mov edx, edi
jmp 0x47b452
call fcn.0047ab60
mov dword [esp + 0x18], 1
mov ecx, 0x40
mov eax, dword [esp + 0x18]
lea esi, [ecx - 1]
and esi, dword [esp + 0x1c]
xor edi, edi
lea ecx, [eax*8]
xor eax, eax
shld edi, esi, cl
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, eax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xc]
or ecx, esi
mov esi, dword [esp + 0x14]
mov eax, ecx
or esi, edi
mov edi, dword [esp + 0x18]
mov edx, esi
lea ecx, [edi + 1]
jmp 0x47b452
mov dword [esp + 0x18], 2
mov ecx, 0x20
jmp 0x47b5f2
mov dword [esp + 0x18], 3
mov ecx, 0x10
jmp 0x47b5f2
mov dword [esp + 0x18], 4
mov ecx, 8
jmp 0x47b5f2
mov dword [esp + 0x18], 5
mov ecx, 4
jmp 0x47b5f2
mov dword [esp + 0x18], 6
mov ecx, 2
jmp 0x47b5f2
mov dword [esp + 0x18], 7
mov ecx, 1
jmp 0x47b5f2