Function at 0x4072a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x48c
movsx eax, word [ecx]
inc eax
push ebx
cdq
push ebp
sub eax, edx
push esi
mov esi, dword [esp + 0x4a8]
sar eax, 1
mov byte [esi], al
push edi
movsx eax, word [ecx + 2]
inc eax
mov edi, 0xfc
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 1], al
movsx eax, word [ecx + 4]
inc eax
cdq
sub eax, edx
sar eax, 1
cdq
idiv edi
mov byte [esi + 2], dl
movsx eax, word [ecx + 8]
inc eax
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 3], al
movsx eax, word [ecx + 0xa]
inc eax
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 4], al
movsx eax, word [ecx + 0xc]
inc eax
cdq
sub eax, edx
sar eax, 1
cdq
idiv edi
mov byte [esi + 5], dl
mov al, byte [ecx + 0xe]
mov dl, byte [ecx + 6]
and al, 0xf
shl dl, 4
or al, dl
mov byte [esi + 6], al
movsx eax, word [ecx + 0x10]
inc eax
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 7], al
movsx eax, word [ecx + 0x12]
inc eax
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 8], al
movsx eax, word [ecx + 0x16]
inc eax
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 9], al
movsx eax, word [ecx + 0x18]
inc eax
cdq
sub eax, edx
sar eax, 1
mov byte [esi + 0xa], al
mov al, byte [ecx + 0x1a]
mov cl, byte [ecx + 0x14]
and al, 0xf
mov ebp, dword [esp + 0x4a4]
shl cl, 4
or al, cl
mov byte [esi + 0xb], al
movsx ebx, word [ebp + 0x3fc]
cmp ebx, 1
jl 0x4073f9
lea eax, [esp + 0x9c]
lea edi, [esp + 0xa6]
sub eax, ebp
lea ecx, [ebp + 0xc]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x9e]
sub eax, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
movsx eax, word [ecx - 4]
inc eax
mov ebp, 0xfc
cdq
sub eax, edx
add edi, 8
sar eax, 1
mov word [edi - 0xa], ax
movsx eax, word [ecx - 2]
inc eax
add ecx, 8
cdq
sub eax, edx
sar eax, 1
mov word [edi - 8], ax
movsx eax, word [ecx - 8]
inc eax
cdq
sub eax, edx
sar eax, 1
cdq
idiv ebp
mov eax, dword [esp + 0x18]
mov word [eax + ecx - 8], dx
mov eax, dword [esp + 0x14]
mov dl, byte [ecx - 6]
mov byte [eax + ecx - 8], dl
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x40739f
mov ebp, dword [esp + 0x4a4]
push 0xb4
lea ecx, [esp + 0x20]
push 0x10
lea edx, [esp + 0xa4]
push ecx
push edx
mov word [esp + 0x4a8], bx
call fcn.00407500
mov eax, dword [esp + 0x4b0]
mov byte [esi + 0xc], 0x55
add esp, 0x10
mov cl, byte [eax + 7]
or cl, 0x40
mov byte [esi + 0xd], cl
mov dl, byte [ebp + 0x3ff]
mov ebp, 1
mov byte [esi + 0xe], dl
cmp ebx, ebp
mov byte [esi + 0xf], 0
jl 0x40748e
lea edi, [esp + 0xa4]
lea ecx, [esi + 0x11]
cmp ebp, 0x7f
jge 0x40748e
mov al, byte [edi + 2]
mov byte [ecx - 1], al
mov dl, byte [edi]
mov byte [ecx], dl
mov al, byte [edi + 4]
mov byte [ecx + 1], al
mov dl, byte [esp + ebp + 0x1c]
test dl, 0xf
je 0x407472
add dl, 0x10
mov al, byte [edi + 6]
and dl, 0xf0
cmp al, 0xf
jbe 0x40747e
mov al, 0xf
or al, dl
inc ebp
mov byte [ecx + 2], al
add edi, 8
add ecx, 4
cmp ebp, ebx
jle 0x407451
inc ebx
cmp ebx, 0x7f
jge 0x4074b2
mov ecx, 0x7f
lea edi, [esi + ebx*4 + 0xc]
sub ecx, ebx
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4a4]
pop edi
mov cl, byte [eax + 0x3f8]
mov byte [esi + 0x208], cl
mov dl, byte [eax + 0x3fa]
mov byte [esi + 0x209], dl
mov al, byte [eax + 0x3fe]
mov byte [esi + 0x20a], al
mov byte [esi + 0x20b], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48c
ret