Function at 0x57a230
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x57a241
pop edi
xor eax, eax
pop esi
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0xc], edx
jne 0x57a264
pop edi
pop esi
ret 8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebx, 0x22
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
push 0x2c
push esi
call fcn.005de150
push ebx
push esi
mov ebp, eax
call fcn.005de150
add esp, 0x10
test eax, eax
je 0x57a2b5
cmp eax, ebp
jae 0x57a2b5
inc eax
push ebx
push eax
call fcn.005de150
add esp, 8
jmp 0x57a2b7
xor eax, eax
test ebp, ebp
je 0x57a2d5
cmp eax, ebp
jbe 0x57a2cd
inc eax
push 0x2c
push eax
call fcn.005de150
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x57a2d5
mov byte [ebp], 0
mov edx, esi
mov al, byte [edx]
cmp al, 0x20
je 0x57a2e1
cmp al, 9
jne 0x57a2e4
inc edx
jmp 0x57a2d7
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x57a30d
lea esi, [ecx + edx - 1]
mov al, byte [esi]
cmp al, 0x20
je 0x57a304
cmp al, 9
je 0x57a304
cmp al, 0xd
jne 0x57a30d
mov byte [esi], 0
dec ecx
dec esi
test ecx, ecx
jne 0x57a2f6
mov ecx, 0xb
mov edi, 0x6dd7a8
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x57a33a
mov ecx, dword [esp + 0x18]
add edx, 0xb
add ecx, 0xc
push ecx
push 0x6bc140
push edx
call fcn.005de570
jmp 0x57a4e0
mov ecx, 5
mov edi, 0x6dd79c
mov esi, edx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x57a381
mov al, byte [edx + 0xa]
add edx, 0xa
cmp al, bl
jne 0x57a358
inc edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], bl
jne 0x57a36f
mov byte [ecx + edx - 1], 0
mov ecx, dword [esp + 0x18]
push edx
push 0x6bc090
add ecx, 0x10
jmp 0x57a4da
mov ecx, 7
mov edi, 0x6dd794
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x57a3c7
mov al, byte [edx + 7]
add edx, 7
cmp al, bl
jne 0x57a39e
inc edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], bl
jne 0x57a3b5
mov byte [ecx + edx - 1], 0
mov ecx, dword [esp + 0x18]
push edx
push 0x6bc090
add ecx, 0x14
jmp 0x57a4da
mov ecx, 0xb
mov edi, 0x6dd788
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x57a40d
mov al, byte [edx + 0xb]
add edx, 0xb
cmp al, bl
jne 0x57a3e4
inc edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], bl
jne 0x57a3fb
mov byte [ecx + edx - 1], 0
mov ecx, dword [esp + 0x18]
push edx
push 0x6bc090
add ecx, 0x18
jmp 0x57a4da
mov ecx, 3
mov edi, 0x6dd780
mov esi, edx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x57a454
mov al, byte [edx + 6]
add edx, 6
cmp al, bl
jne 0x57a42b
inc edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], bl
jne 0x57a442
mov byte [ecx + edx - 1], 0
mov ecx, dword [esp + 0x18]
push edx
push 0x6bc090
add ecx, 0x1c
jmp 0x57a4da
mov ecx, 3
mov edi, 0x6dd778
mov esi, edx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x57a498
mov al, byte [edx + 6]
add edx, 6
cmp al, bl
jne 0x57a472
inc edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], bl
jne 0x57a489
mov byte [ecx + edx - 1], 0
mov ecx, dword [esp + 0x18]
push edx
push 0x6bc090
add ecx, 0x20
jmp 0x57a4da
mov ecx, 5
mov edi, 0x6dd76c
mov esi, edx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x57a4e3
mov al, byte [edx + 0xa]
add edx, 0xa
cmp al, bl
jne 0x57a4b6
inc edx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + edx - 1], bl
jne 0x57a4cd
mov byte [ecx + edx - 1], 0
mov ecx, dword [esp + 0x18]
push edx
push 0x6bc090
add ecx, 0x24
push ecx
call fcn.005f368b
add esp, 0xc
test ebp, ebp
je 0x57a4f8
mov cl, byte [ebp + 1]
lea eax, [ebp + 1]
test cl, cl
je 0x57a4f8
mov esi, eax
jmp 0x57a28c
mov edx, dword [esp + 0x14]
push edx
call fcn.005f6c85
add esp, 4
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
ret 8