Function at 0x4678a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x30], edi
mov esi, dword [edi + 4]
lea edx, [edi + 0xc]
mov dword [esp + 0x1c], edx
test esi, esi
jne 0x4678d8
mov eax, dword [edx]
push ebp
call eax
add esp, 4
test al, al
je 0x467c25
mov esi, dword [edi + 4]
lea edx, [edi + 0xc]
jmp 0x4678dc
mov dword [esp + 0x1c], edx
mov eax, edi
mov eax, dword [eax]
movzx ecx, byte [eax]
lea ebx, [eax + 1]
shl ecx, 8
mov dword [esp + 0x28], ecx
sub esi, 1
jne 0x46790b
mov eax, dword [edx]
push ebp
call eax
add esp, 4
test al, al
je 0x467c25
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x28]
movzx eax, byte [ebx]
sub ecx, 2
add ecx, eax
dec esi
inc ebx
test ecx, ecx
jle 0x467bff
lea ecx, [ecx]
dec ecx
mov dword [esp + 0x28], ecx
test esi, esi
jne 0x467942
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x467c25
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [ebp]
dec esi
movzx ecx, byte [ebx]
inc ebx
mov edx, ecx
mov dword [esp + 0x34], ebx
and ecx, 0xf
shr edx, 4
mov dword [eax + 0x14], 0x53
mov eax, dword [ebp]
push 1
push ebp
mov dword [esp + 0x34], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov dword [esp + 0x2c], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp ecx, 4
jb 0x4679a7
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0x20
mov eax, dword [ebp]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x28]
add esp, 4
lea eax, [ecx*4 + 0x90]
add eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4679d1
push ebp
call fcn.00465b00
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [ecx], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test ecx, ecx
je 0x4679f0
cmp edx, 0x80
jge 0x4679e9
sar edx, 1
jmp 0x4679f9
mov edx, 0x40
jmp 0x467a11
cmp edx, 0x40
jge 0x467a8b
mov edi, dword [esp + 0x20]
mov ecx, 0x20
mov eax, 0x10001
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea eax, [edx - 4]
mov dword [esp + 0x24], edx
cmp eax, 0x2d
ja case.0x467a24.5
movzx eax, byte [eax + 0x467c4c]
jmp dword [eax*4 + 0x467c30]
xor eax, eax
mov dword [esp + 0x18], 0x499ad8
mov dword [esp + 0x14], eax
jmp 0x467ab0
xor eax, eax
mov dword [esp + 0x18], 0x499a70
mov dword [esp + 0x14], eax
jmp 0x467ab0
xor eax, eax
mov dword [esp + 0x18], 0x4999f0
mov dword [esp + 0x14], eax
jmp 0x467ab0
xor eax, eax
mov dword [esp + 0x18], 0x499948
mov dword [esp + 0x14], eax
jmp 0x467ab0
xor eax, eax
mov dword [esp + 0x18], 0x499878
mov dword [esp + 0x14], eax
jmp 0x467ab0
xor eax, eax
mov dword [esp + 0x18], 0x499770
mov dword [esp + 0x14], eax
jmp 0x467ab0
mov edx, 0x40
mov dword [esp + 0x24], edx
xor eax, eax
mov dword [esp + 0x18], 0x499630
mov dword [esp + 0x14], eax
test edx, edx
jle 0x467b64
lea ebx, [ebx]
test ecx, ecx
je 0x467b11
test esi, esi
jne 0x467ad1
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x467c25
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov al, byte [ebx]
inc ebx
mov byte [esp + 0x13], al
sub esi, 1
jne 0x467afa
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x467c25
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov al, byte [esp + 0x13]
movzx ecx, al
dec esi
mov eax, 0x100
imul ecx, eax
movzx eax, byte [ebx]
add cx, ax
movzx edx, cx
jmp 0x467b32
test esi, esi
jne 0x467b2e
mov eax, dword [esp + 0x1c]
push ebp
mov eax, dword [eax]
call eax
add esp, 4
test al, al
je 0x467c25
mov ebx, dword [edi]
mov esi, dword [edi + 4]
movzx edx, byte [ebx]
dec esi
mov ecx, dword [esp + 0x14]
inc ebx
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x14], ecx
mov word [ebp + eax*2], dx
mov edx, dword [esp + 0x24]
cmp ecx, edx
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
jl 0x467ab0
mov eax, dword [ebp]
cmp dword [eax + 0x68], 2
jl 0x467be6
mov edi, dword [esp + 0x20]
mov ebx, 8
add edi, 4
lea esp, [esp]
mov ecx, dword [ebp]
movzx eax, word [edi - 4]
push 2
push ebp
mov dword [ecx + 0x18], eax
movzx eax, word [edi - 2]
mov dword [ecx + 0x1c], eax
movzx eax, word [edi]
mov dword [ecx + 0x20], eax
movzx eax, word [edi + 2]
mov dword [ecx + 0x24], eax
movzx eax, word [edi + 4]
mov dword [ecx + 0x28], eax
movzx eax, word [edi + 6]
mov dword [ecx + 0x2c], eax
movzx eax, word [edi + 8]
mov dword [ecx + 0x30], eax
movzx eax, word [edi + 0xa]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x5f
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
add esp, 8
lea edi, [edi + 0x10]
sub ebx, 1
jne 0x467b80
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, edx
cmp dword [esp + 0x2c], 0
je 0x467bf5
sub ecx, edx
test ecx, ecx
jg 0x467920
test ecx, ecx
je 0x467c16
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xc
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [edi], ebx
mov al, 1
mov dword [edi + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret