Function at 0x561df0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
cmp byte [esi + 5], 0
je 0x561e39
call fcn.00561a70
test eax, eax
jne 0x562085
lea eax, [ebx + 0x10]
push eax
push esi
call fcn.005616d0
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00586584
add esp, 0x18
ret
mov eax, dword [esi + 1]
cmp word [eax + 2], 1
push edi
jg 0x561f2a
cmp byte [esi], 0x73
jne 0x561e9d
movsx ecx, byte [ebx + 5]
movsx eax, byte [ebx + 4]
mov edx, dword [ebx]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10]
push ecx
push esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0x10
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x562081
test edi, edi
je 0x562081
lea ecx, [esp + 0x10]
jmp 0x562078
lea edx, [esp + 0xc]
push edx
push esi
call fcn.005616d0
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x561f0f
cmp eax, 0x10
jne 0x561f0f
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00561670
test eax, eax
jne 0x562084
movsx ecx, byte [esi]
cmp ecx, 0x72
jne 0x562084
mov dl, byte [esp + 0x14]
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov cl, byte [esp + 0x18]
mov byte [ebx + 4], dl
mov edx, dword [esp + 0x10]
mov byte [ebx + 5], cl
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword [ebx], edx
mov dword [ebx + 0x10], ecx
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00586584
add esp, 0x18
ret
mov ecx, ebx
mov edx, esi
call fcn.00561670
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00586584
add esp, 0x18
ret
test byte [eax + 6], 0x40
jne 0x562054
cmp byte [esi], 0x73
mov dword [esp + 0xc], 0x10
jne 0x561fb9
movzx eax, byte [ebx + 5]
movzx edx, byte [ebx + 4]
mov ecx, dword [ebx]
mov byte [esp + 0x15], al
movzx eax, byte [ebx + 7]
mov byte [esp + 0x14], dl
movzx edx, byte [ebx + 6]
mov byte [esp + 0x17], al
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x10], ecx
movzx ecx, byte [ebx + 8]
mov byte [esp + 0x16], dl
movzx edx, byte [ebx + 9]
mov byte [esp + 0x1a], al
mov byte [esp + 0x18], cl
movzx ecx, byte [ebx + 0xb]
lea eax, [esp + 0xc]
mov byte [esp + 0x19], dl
mov edx, dword [ebx + 0x10]
push eax
push esi
mov byte [esp + 0x23], cl
mov dword [esp + 0x24], edx
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x562081
test edi, edi
je 0x562081
lea ecx, [esp + 0x10]
jmp 0x562078
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x561fe0
test edi, edi
je 0x561fe0
mov eax, edi
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00561670
movsx ecx, byte [esi]
mov dword [esi + 0xa], edi
cmp ecx, 0x72
jne 0x562084
movzx ecx, byte [esp + 0x14]
xor edx, edx
mov word [ebx + 0xc], dx
movzx edx, byte [esp + 0x15]
mov byte [ebx + 4], cl
mov ecx, dword [esp + 0x10]
mov byte [ebx + 5], dl
movzx edx, byte [esp + 0x16]
mov dword [ebx], ecx
movzx ecx, byte [esp + 0x17]
mov byte [ebx + 6], dl
movzx edx, byte [esp + 0x18]
mov byte [ebx + 7], cl
movzx ecx, byte [esp + 0x19]
mov byte [ebx + 8], dl
movzx edx, byte [esp + 0x1a]
mov byte [ebx + 9], cl
movzx ecx, byte [esp + 0x1b]
mov byte [ebx + 0xa], dl
mov edx, dword [esp + 0x1c]
pop edi
pop esi
mov byte [ebx + 0xb], cl
mov dword [ebx + 0x10], edx
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00586584
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x14
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x562081
test edi, edi
je 0x562081
mov ecx, ebx
mov eax, edi
mov edx, esi
call fcn.00561670
mov dword [esi + 0xa], edi
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.00586584
add esp, 0x18
ret