Function at 0x4562f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 0xc], 0
push esi
push edi
mov eax, dword [ebx + 0x54]
mov edi, dword [eax + 0x18]
mov al, byte [ebx + 0x44]
cmp al, 1
jne 0x45631a
mov esi, 0x453d60
jmp 0x456329
cmp al, 2
mov esi, 0x453b60
mov ecx, 0x453bb0
cmove esi, ecx
xor edx, edx
cmp byte [ebx + 0x43], dl
jbe 0x456341
lea ecx, [ebx + 0x70]
mov dword [ecx], esi
lea ecx, [ecx + 0x50]
movzx eax, byte [ebx + 0x43]
inc edx
cmp edx, eax
jl 0x456333
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.00456020
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x456563
cmp byte [ebx + 0x41], al
je 0x4565ee
movzx eax, byte [ebx + 0x43]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0xfffffff8
add esi, ebx
cmp dword [esi + 0x10], 0
jne 0x4563a5
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 0x1c]
call fcn.004454c0
mov ecx, eax
mov dword [esi + 0x10], ecx
test ecx, ecx
je 0x45655a
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + 6]
mov word [ecx + 0x14], ax
mov eax, dword [esi + 0x10]
mov byte [eax + 0x17], 0
push 0
push 0x38
test edi, edi
je 0x4563bc
mov ecx, edi
call fcn.004190c0
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x4563c7
call fcn.00418960
mov edi, eax
mov dword [esp + 0x20], eax
add esp, 8
test edi, edi
je 0x456557
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov dword [ebx + 0x10], edi
add esp, 0xc
mov eax, dword [0x570670]
test eax, eax
je 0x456416
push 0x64
call eax
add esp, 4
test eax, eax
je 0x456416
mov dword [edi + 0x30], 0
mov ecx, dword [esp + 0x14]
call fcn.004542a0
mov esi, 7
xor edi, edi
mov dword [esp + 0x10], esi
jmp 0x456567
push 0
push 0x40
call fcn.00418960
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x45643d
push 0x40
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x30], ecx
test ecx, ecx
je 0x4563fd
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
add ecx, 9
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov eax, ecx
cdq
add dword [esi + 0x48], eax
adc dword [esi + 0x4c], edx
xor esi, esi
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x48], eax
sbb dword [ecx + 0x4c], edx
xor ecx, ecx
movzx eax, byte [ebx + 0x43]
dec eax
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x4564e7
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
nop dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [edi + eax + 0x30]
test eax, eax
je 0x4564d2
mov ecx, dword [eax]
mov dword [eax + 0x18], 1
mov eax, dword [eax + 0x10]
cdq
sub dword [ecx + 0x48], eax
sbb dword [ecx + 0x4c], edx
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ebx + 0x43]
inc ecx
dec eax
mov dword [esp + 0x1c], ecx
add edi, 0x38
cmp ecx, eax
jl 0x4564b0
mov esi, dword [esp + 0x10]
xor edi, edi
xor edx, edx
mov dword [esp + 0x10], edx
nop
movzx eax, byte [ebx + 0x43]
cmp edi, eax
jge 0x45653c
mov eax, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edx + 0x30]
add ecx, edx
test eax, eax
je 0x45652e
cmp dword [eax + 0x18], esi
je 0x456522
push ecx
mov ecx, dword [eax]
mov edx, 0x455bf0
call fcn.00454150
add esp, 4
jmp 0x45652c
mov edx, 1
call fcn.00455ae0
mov esi, eax
add dword [esp + 0x10], 0x38
inc edi
mov edx, dword [esp + 0x10]
test esi, esi
je 0x4564f0
xor edi, edi
mov dword [esp + 0x10], esi
test esi, esi
jne 0x456567
mov ecx, dword [esp + 0x18]
lea edx, [esi + 2]
call fcn.00455ae0
jmp 0x456606
mov dword [ebx + 0x10], edi
mov esi, 7
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x456625
xor ebx, ebx
cmp dword [edi], ebx
jle 0x456596
xor esi, esi
nop word [eax + eax]
mov ecx, dword [edi + 0xc]
add ecx, esi
call fcn.00453450
inc ebx
add esi, 0x38
cmp ebx, dword [edi]
jl 0x456580
mov esi, dword [esp + 0x10]
cmp dword [0x570570], 0
je 0x45661b
mov eax, dword [0x5733e8]
test eax, eax
je 0x4565b2
push eax
call dword [0x5705c0]
add esp, 4
push edi
call dword [0x57059c]
sub dword [0x573270], eax
add esp, 4
dec dword [0x573294]
push edi
call dword [0x570594]
mov eax, dword [0x5733e8]
add esp, 4
test eax, eax
je 0x456625
push eax
call dword [0x5705c8]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
lea ecx, [ebx + 0x48]
push 0
mov edx, edi
call fcn.00455960
add esp, 4
mov dword [ebx + 0x14], edi
xor edi, edi
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x456567
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x570594]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret