Function at 0x451fa3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
je 0x452165
lea eax, [edi - 1]
cmp eax, 0x4e1f
ja 0x452225
mov edx, dword [edi*4 + 0x101c81dc]
test edx, edx
je 0x452225
mov eax, dword [edx + 4]
cmp eax, 0x54
jne 0x452012
xor eax, eax
mov esi, 1
push edi
mov dword [esp + 0x14], esi
mov word [esp + 0x18], ax
call fcn.00452803
cmp dword [ebp + 0x10], 0
mov byte [esp + 0x17], al
je 0x452008
mov ecx, ebx
jmp 0x452184
mov byte [esp + 0x16], 0xff
jmp 0x452190
cmp eax, 0x58
jne 0x452137
mov eax, dword [ebx + 0x28]
xor ecx, ecx
sub eax, dword [ebx + 0x24]
sar eax, 2
mov dword [esp + 0xc], eax
test eax, eax
jle 0x45204f
mov edx, dword [ebx + 0x24]
nop
mov eax, dword [edx]
cmp edi, dword [eax + 4]
je 0x4520d2
inc ecx
add edx, 4
cmp ecx, dword [esp + 0xc]
jl 0x452033
mov edx, dword [edi*4 + 0x101c81dc]
lea eax, [edi - 1]
cmp eax, 0x4e1f
ja 0x452077
mov eax, dword [edx + 0x14]
xor ecx, ecx
mov edx, dword [edx + 0x18]
sub edx, eax
sar edx, 2
test edx, edx
jle 0x452077
cmp dword [eax], 0x58
je 0x45208c
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45206a
push edi
push 0x10194f98
push 0x1019259c
push 2
call fcn.00437cf3
add esp, 0x10
lea eax, [edi - 1]
cmp eax, 0x4e1f
ja 0x4520a1
mov eax, dword [edi*4 + 0x101c81dc]
test eax, eax
jne 0x4520a3
xor eax, eax
cmp dword [eax + 0x20], 0
je 0x4520ac
inc dword [eax + 0x28]
push 8
call fcn.0050d7e6
xor ecx, ecx
mov dword [esp + 0x10], eax
add esp, 4
mov word [eax], cx
mov dword [eax + 4], edi
mov ecx, dword [ebx + 0x28]
cmp dword [ebx + 0x2c], ecx
je 0x4520fb
mov dword [ecx], eax
add dword [ebx + 0x28], 4
jmp 0x45210d
mov eax, dword [ebx + 0x24]
mov esi, 2
mov dword [esp + 0x10], esi
mov eax, dword [eax + ecx*4]
inc word [eax]
movzx eax, cx
xor ecx, ecx
movzx eax, al
mov word [esp + 0x14], cx
mov word [esp + 0x16], ax
jmp 0x452190
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [ebx + 0x24]
call fcn.0040b933
mov eax, dword [esp + 0xc]
inc word [eax]
mov esi, 2
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x24]
sar eax, 2
dec eax
mov dword [esp + 0x10], esi
movzx eax, ax
xor ecx, ecx
movzx eax, al
mov word [esp + 0x14], cx
mov word [esp + 0x16], ax
jmp 0x452190
cmp eax, 0x15
je 0x452145
cmp eax, 0x3d
jne 0x452225
xor eax, eax
mov esi, 3
push edi
mov dword [esp + 0x14], esi
mov word [esp + 0x18], ax
call fcn.00452b73
movzx eax, al
mov word [esp + 0x16], ax
jmp 0x452190
cmp dword [ebp + 0x10], 0
je 0x452225
mov esi, 1
mov byte [esp + 0x17], 0xff
xor eax, eax
mov dword [esp + 0x10], esi
mov word [esp + 0x14], ax
push dword [ebp + 0xc]
call fcn.00452ae3
mov byte [esp + 0x16], al
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [ebx]
mov edi, eax
sub edi, ecx
mov dword [esp + 0xc], eax
sar edi, 3
test edi, edi
jle 0x4521d3
cmp dword [ecx], esi
jne 0x4521c7
mov al, byte [ecx + 7]
cmp al, byte [esp + 0x17]
jne 0x4521c7
mov al, byte [ecx + 6]
cmp al, byte [esp + 0x16]
jne 0x4521c7
mov ax, word [ecx + 6]
cmp ax, word [esp + 0x16]
je 0x4521fb
inc edx
add ecx, 8
cmp edx, edi
jl 0x4521a6
mov eax, dword [esp + 0xc]
cmp dword [ebx + 8], eax
je 0x452206
mov ecx, dword [esp + 0xc]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
dec eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00452bd3
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
dec eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0xffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc