Function at 0x569bd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x20], 0
push ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp byte [eax + 2], 0
mov esi, dword [eax + 0x34]
movzx ebx, byte [eax + 6]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], edi
je 0x569c58
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
add ecx, eax
mov dword [ebp - 8], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
cmp ecx, 0x80
jae 0x569c27
mov eax, dword [ebp + 0xc]
mov byte [ebx + eax], cl
lea eax, [edi + 1]
jmp 0x569c3d
mov eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
call fcn.00599930
mov edx, dword [ebp + 0x10]
add esp, 0xc
push dword [edx + 0xc]
movzx eax, al
push dword [edx + 8]
add ebx, eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
call fcn.00599930
add esp, 0xc
jmp 0x569c94
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp ecx, 0x80
jae 0x569c7e
mov eax, dword [ebp + 0xc]
mov byte [ebx + eax], cl
mov eax, 1
jmp 0x569c91
mov eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
call fcn.00599930
add esp, 0xc
movzx eax, al
mov ecx, dword [ebp + 8]
add ebx, eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], ebx
movzx eax, word [ecx + 0xa]
mov dword [ebp + 8], eax
cmp edx, eax
jg 0x569cc3
lea ecx, [edx + ebx]
mov eax, 4
cmp ecx, eax
mov ebx, edx
cmovl ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
jmp 0x569cf9
movzx esi, word [ecx + 0xc]
mov eax, edx
mov ecx, dword [ecx + 0x34]
sub eax, esi
xor edx, edx
mov ecx, dword [ecx + 0x28]
sub ecx, 4
div ecx
mov eax, dword [ebp + 0x14]
lea ebx, [esi + edx]
mov edx, dword [ebp - 4]
cmp ebx, dword [ebp + 8]
cmovg ebx, esi
mov esi, dword [ebp - 0x18]
add esi, ebx
lea ecx, [esi + 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
test edx, edx
jle 0x569e9c
mov ecx, dword [ebp - 8]
test ebx, ebx
jne 0x569e1e
mov dword [ebp - 0x18], edi
cmp byte [esi + 0x11], bl
je 0x569d71
mov ebx, dword [esi + 0x24]
inc edi
cmp edi, 2
jae 0x569d2d
xor ecx, ecx
jmp 0x569d5c
mov eax, 0xcccccccd
mul dword [esi + 0x28]
lea eax, [edi - 2]
mov esi, edx
xor edx, edx
shr esi, 2
inc esi
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x67222c]
div ebx
imul ecx, esi
inc eax
add ecx, 2
cmp ecx, eax
jne 0x569d59
inc ecx
mov esi, dword [ebp - 0xc]
cmp ecx, edi
je 0x569d23
mov eax, dword [0x67222c]
xor edx, edx
div ebx
inc eax
cmp edi, eax
je 0x569d23
mov dword [ebp - 0x1c], edi
push 0
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0055c790
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov ebx, dword [ebp - 0x20]
mov esi, eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 0xc], esi
cmp byte [ecx + 0x11], 0
je 0x569dd4
test esi, esi
jne 0x569e6f
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x18]
test eax, eax
push eax
setne al
add al, 3
movzx eax, al
push eax
push edi
push ecx
call fcn.00577cc0
mov esi, dword [ebp + 0xc]
add esp, 0x14
test esi, esi
je 0x569ddc
test ebx, ebx
je 0x569dd4
push dword [ebx + 0x48]
call fcn.00595f70
add esp, 4
test esi, esi
jne 0x569e6f
mov ecx, dword [ebp + 8]
mov eax, edi
bswap eax
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x569df7
push dword [eax + 0x48]
call fcn.00595f70
add esp, 4
mov eax, dword [ebx + 0x38]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov dword [eax], 0
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x38]
mov ebx, dword [ebp - 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ebx, dword [ebx + 0x28]
sub ebx, 4
cmp edx, ebx
mov esi, edx
cmovg esi, ebx
test ecx, ecx
jle 0x569e3a
cmp esi, ecx
cmovg esi, ecx
push esi
push dword [ebp - 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
jmp 0x569e43
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 0xc]
sub edx, esi
mov ecx, dword [ebp - 8]
add eax, esi
add dword [ebp - 0x10], esi
sub ecx, esi
sub ebx, esi
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
test edx, edx
jle 0x569e8a
mov esi, dword [ebp - 0xc]
jmp 0x569d10
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x569e81
push dword [eax + 0x48]
call fcn.00595f70
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x569e9c
push dword [eax + 0x48]
call fcn.00595f70
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret