Function at 0x5625cf
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 5], 0
mov ebx, edx
je 0x56261a
call fcn.00561a70
test eax, eax
jne 0x56284e
lea eax, [ebx + 0x10]
push eax
push esi
call fcn.005616d0
add esp, 8
test eax, eax
jne 0x56284e
lea eax, [ebx + 0x14]
push eax
push esi
call fcn.005616d0
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00586584
add esp, 0x1c
ret
mov eax, dword [esi + 1]
cmp word [eax + 2], 1
push edi
jg 0x562719
cmp byte [esi], 0x73
jne 0x562685
movsx eax, byte [ebx + 4]
movsx ecx, byte [ebx + 5]
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x14
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x56284a
test edi, edi
je 0x56284a
lea ecx, [esp + 0x10]
jmp 0x562841
lea eax, [esp + 0xc]
push eax
push esi
call fcn.005616d0
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
jne 0x5626fe
cmp eax, 0x14
jne 0x5626fe
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00561670
test eax, eax
jne 0x56284d
movsx ecx, byte [esi]
cmp ecx, 0x72
jne 0x56284d
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]
mov dword [ebx], edx
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00586584
add esp, 0x1c
ret
mov ecx, ebx
mov edx, esi
call fcn.00561670
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00586584
add esp, 0x1c
ret
test byte [eax + 6], 0x40
jne 0x56281d
cmp byte [esi], 0x73
mov dword [esp + 0xc], 0x14
jne 0x56277b
movzx eax, byte [ebx + 4]
movzx ecx, byte [ebx + 5]
mov edx, dword [ebx]
mov byte [esp + 0x14], al
movzx eax, byte [ebx + 6]
mov byte [esp + 0x15], cl
movzx ecx, byte [ebx + 7]
mov dword [esp + 0x10], edx
movzx edx, byte [ebx + 8]
mov byte [esp + 0x16], al
movzx eax, byte [ebx + 9]
mov byte [esp + 0x17], cl
movzx ecx, byte [ebx + 0xa]
mov byte [esp + 0x18], dl
movzx edx, byte [ebx + 0xb]
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], dl
jmp 0x56264c
lea eax, [esp + 0xc]
push eax
push esi
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x5627a2
test edi, edi
je 0x5627a2
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 0x56284d
movzx edx, byte [esp + 0x14]
xor ecx, ecx
mov word [ebx + 0xc], cx
movzx ecx, byte [esp + 0x15]
mov byte [ebx + 4], dl
mov edx, dword [esp + 0x10]
mov byte [ebx + 5], cl
movzx ecx, byte [esp + 0x16]
mov dword [ebx], edx
movzx edx, byte [esp + 0x17]
mov byte [ebx + 6], cl
movzx ecx, byte [esp + 0x18]
mov byte [ebx + 7], dl
movzx edx, byte [esp + 0x19]
mov byte [ebx + 8], cl
movzx ecx, byte [esp + 0x1a]
mov byte [ebx + 9], dl
movzx edx, byte [esp + 0x1b]
mov byte [ebx + 0xa], cl
mov ecx, dword [esp + 0x1c]
mov byte [ebx + 0xb], dl
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00586584
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x18
call fcn.005616d0
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x56284a
test edi, edi
je 0x56284a
mov ecx, ebx
mov eax, edi
mov edx, esi
call fcn.00561670
mov dword [esi + 0xa], edi
pop edi
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
xor ecx, esp
call fcn.00586584
add esp, 0x1c
ret