Function at 0x47dfc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40
push ebx
mov ebx, ecx
mov edx, dword [esp + 0x48]
or eax, 0xffffffff
mov cx, word [ebx + 8]
push ebp
sub eax, ecx
push esi
mov dword [esp + 0x30], eax
mov eax, ecx
neg eax
mov dword [esp + 0x34], eax
lea esi, [edx*8]
mov eax, 1
sub esi, edx
sub eax, ecx
push edi
shl esi, 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], esi
jmp 0x47e00b
mov ebx, dword [esp + 0x18]
xor ebp, ebp
mov byte [esp + 0x13], 0
cmp edx, ebp
jle 0x47e022
dec edx
sub esi, 0x1c
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], esi
mov edi, dword [esp + 0x58]
cmp edi, ebp
jle 0x47e02f
dec edi
mov dword [esp + 0x58], edi
mov eax, dword [ebx + 8]
mov ebx, dword [esp + 0x5c]
dec eax
cmp ebx, eax
jge 0x47e042
mov eax, ebx
inc eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov eax, dword [eax + 0xc]
dec eax
cmp ebx, eax
jge 0x47e057
inc ebx
mov dword [esp + 0x60], ebx
cmp edi, ebx
mov dword [esp + 0x1c], edi
jg 0x47e326
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x8e8c]
mov eax, dword [eax + edi*4]
add eax, esi
cmp edx, dword [esp + 0x5c]
jg 0x47e30d
jmp 0x47e08c
mov edi, dword [esp + 0x1c]
xor ebp, ebp
movzx dx, byte [eax + 6]
cmp edi, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x28], ebp
jle 0x47e0cf
movsx esi, word [esp + 0x38]
lea ebx, [esi*8]
sub ebx, esi
movzx si, byte [eax + ebx*4 + 6]
cmp si, dx
jle 0x47e0cf
mov ebp, 1
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0xc]
lea ebx, [esi - 1]
cmp edi, ebx
jge 0x47e0fc
movsx esi, cx
lea edi, [esi*8]
sub edi, esi
movzx si, byte [eax + edi*4 + 6]
cmp si, dx
jle 0x47e0fc
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x47e116
movzx si, byte [eax - 0x16]
cmp si, dx
jle 0x47e116
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 8]
lea edi, [esi - 1]
mov esi, dword [esp + 0x14]
cmp esi, edi
jge 0x47e13a
movzx si, byte [eax + 0x22]
cmp si, dx
jle 0x47e13a
mov dword [esp + 0x2c], 1
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x47e19a
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x47e16f
movsx esi, word [esp + 0x34]
lea ecx, [esi*8]
sub ecx, esi
movzx cx, byte [eax + ecx*4 + 6]
cmp cx, dx
jle 0x47e16b
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x14], edi
jge 0x47e19a
movsx esi, word [esp + 0x40]
lea ecx, [esi*8]
sub ecx, esi
movzx cx, byte [eax + ecx*4 + 6]
cmp cx, dx
jle 0x47e196
mov dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x1c], ebx
jge 0x47e1f2
mov esi, dword [esp + 0x14]
test esi, esi
jle 0x47e1ca
lea esi, [ecx - 1]
movsx esi, si
lea ebx, [esi*8]
sub ebx, esi
movzx si, byte [eax + ebx*4 + 6]
cmp si, dx
jle 0x47e1ca
mov dword [esp + 0x48], 1
cmp dword [esp + 0x14], edi
jge 0x47e1f2
lea esi, [ecx + 1]
movsx esi, si
lea edi, [esi*8]
sub edi, esi
movzx si, byte [eax + edi*4 + 6]
cmp si, dx
jle 0x47e1f2
mov dword [esp + 0x44], 1
xor bl, bl
test bp, bp
je 0x47e203
cmp word [esp + 0x24], 0
je 0x47e203
mov bl, 1
mov edi, dword [esp + 0x2c]
test di, di
je 0x47e214
cmp word [esp + 0x28], 0
jne 0x47e21c
test bl, bl
je 0x47e2e3
movzx si, byte [esp + 0x64]
cmp dx, si
jl 0x47e2d9
cmp word [esp + 0x30], 0
je 0x47e245
movsx esi, word [esp + 0x34]
lea ebx, [esi*8]
sub ebx, esi
mov byte [eax + ebx*4 + 6], dl
test bp, bp
je 0x47e25c
movsx esi, word [esp + 0x38]
lea ebx, [esi*8]
sub ebx, esi
mov byte [eax + ebx*4 + 6], dl
cmp word [esp + 0x3c], 0
je 0x47e276
movsx esi, word [esp + 0x40]
lea ebx, [esi*8]
sub ebx, esi
mov byte [eax + ebx*4 + 6], dl
test di, di
je 0x47e27e
mov byte [eax + 0x22], dl
cmp word [esp + 0x44], 0
je 0x47e299
lea esi, [ecx + 1]
movsx esi, si
lea edi, [esi*8]
sub edi, esi
mov byte [eax + edi*4 + 6], dl
cmp word [esp + 0x24], 0
je 0x47e2b1
movsx esi, cx
lea edi, [esi*8]
sub edi, esi
mov byte [eax + edi*4 + 6], dl
cmp word [esp + 0x48], 0
je 0x47e2cc
lea esi, [ecx - 1]
movsx esi, si
lea edi, [esi*8]
sub edi, esi
mov byte [eax + edi*4 + 6], dl
cmp word [esp + 0x28], 0
je 0x47e2de
mov byte [eax - 0x16], dl
jmp 0x47e2de
inc dl
mov byte [eax + 6], dl
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x5c]
add eax, 0x1c
inc edx
cmp edx, esi
mov dword [esp + 0x14], edx
jle 0x47e086
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x60]
xor ebp, ebp
inc edi
cmp edi, ebx
mov dword [esp + 0x1c], edi
jle 0x47e067
mov al, byte [esp + 0x13]
test al, al
jne 0x47e007
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0x14