Function at 0x5c7c40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x34], edx
test eax, eax
je 0x5c81bd
mov edx, ecx
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
lea eax, [eax + eax*4]
mov edi, dword [edx + 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [edx + 4]
mov ebx, edi
lea eax, [edi + eax*8]
add ebx, 8
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x28], ebx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ecx
jmp 0x5c7cc3
test al, al
je 0x5c8067
nop dword [eax + eax]
mov edi, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x28
add edi, 0x28
cmp dword [ebp - 0x3c], edi
je 0x5c81bd
cmp byte [edi], 0x2f
jne 0x5c7d00
mov al, byte [edi + 1]
mov dword [ebp - 0x10], edi
cmp al, 0x2f
jne 0x5c7d80
mov cl, byte [edi + 2]
mov ebx, ecx
add bl, 0xbf
cmp bl, 0x1a
jb 0x5c7f60
mov eax, ecx
add al, 0x9f
cmp al, 0x1a
jae 0x5c7ee6
add cl, 0xb9
mov ebx, ecx
jmp 0x5c7f60
mov eax, dword [edi]
mov ecx, eax
lea edx, [eax - 0x1010101]
not ecx
and edx, ecx
test edx, 0x80808080
je 0x5c7e37
test al, al
je 0x5c7eb2
cmp byte [edi + 1], 0
je 0x5c7ed1
cmp byte [edi + 2], 0
je 0x5c7ef5
cmp byte [edi + 3], 0
je 0x5c7f1f
cmp byte [edi + 4], 0
je 0x5c7f34
cmp byte [edi + 5], 0
je 0x5c7f49
cmp byte [edi + 6], 0
je 0x5c8168
cmp byte [edi + 7], 0
je 0x5c819b
mov edx, 8
jmp 0x5c8179
mov ecx, eax
xor edi, edi
add cl, 0xd0
cmp cl, 0xa
jae 0x5c7ca0
mov edx, dword [ebp - 0x10]
movzx edi, cl
mov al, byte [edx + 2]
mov ecx, eax
add cl, 0xd0
cmp cl, 0xa
jae 0x5c7ca0
lea eax, [edi + edi*4]
movzx ecx, cl
lea edi, [ecx + eax*2]
mov al, byte [edx + 3]
mov ecx, eax
add cl, 0xd0
cmp cl, 9
ja 0x5c7ca0
lea eax, [edi + edi*4]
movzx ecx, cl
lea edi, [ecx + eax*2]
mov al, byte [edx + 4]
mov ecx, eax
add cl, 0xd0
cmp cl, 9
ja 0x5c7ca0
lea eax, [edi + edi*4]
movzx ecx, cl
lea edi, [ecx + eax*2]
mov al, byte [edx + 5]
mov ecx, eax
add cl, 0xd0
cmp cl, 9
ja 0x5c7ca0
lea eax, [edi + edi*4]
movzx ecx, cl
lea edi, [ecx + eax*2]
mov al, byte [edx + 6]
mov ecx, eax
add cl, 0xd0
cmp cl, 9
ja 0x5c7ca0
lea eax, [edi + edi*4]
movzx ecx, cl
lea edi, [ecx + eax*2]
mov al, byte [edx + 7]
mov ecx, eax
add cl, 0xd0
cmp cl, 9
ja 0x5c7ca0
lea eax, [edi + edi*4]
movzx ecx, cl
lea edi, [ecx + eax*2]
jmp 0x5c8067
mov eax, edi
lea ecx, [edi + 8]
mov dword [ebp - 0x10], edi
and eax, 0xfffffffc
lea edx, [ecx - 8]
mov dword [ebp - 0x38], ecx
add eax, 4
cmp eax, edx
ja 0x5c7e7e
nop
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov ebx, edi
mov esi, ecx
add edi, 0xfefefeff
add ecx, 0xfefefeff
not ebx
not esi
and edi, ebx
and ecx, esi
or ecx, edi
test ecx, 0x80808080
jne 0x5c7e7e
add eax, 8
cmp eax, edx
jbe 0x5c7e50
cmp eax, dword [ebp - 0x38]
mov edx, 8
jae 0x5c7ec6
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
sub ecx, eax
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [eax], 0
je 0x5c8170
inc eax
dec ecx
jne 0x5c7ea0
jmp 0x5c817c
mov eax, edi
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
jmp 0x5c81a7
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
jmp 0x5c817c
lea eax, [edi + 1]
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
jmp 0x5c81a7
mov eax, ecx
add al, 0xd0
cmp al, 0xa
jae 0x5c7f0a
add cl, 4
mov ebx, ecx
jmp 0x5c7f60
lea eax, [edi + 2]
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
jmp 0x5c81a7
cmp cl, 0x2b
je 0x5c7f5e
cmp cl, 0x2f
jne 0x5c7cb0
mov edi, dword [ebp - 0x10]
mov bl, 0x3f
jmp 0x5c7f60
lea eax, [edi + 3]
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
jmp 0x5c81a7
lea eax, [edi + 4]
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
jmp 0x5c81a7
lea eax, [edi + 5]
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
jmp 0x5c81a7
mov bl, 0x3e
mov dl, byte [edi + 3]
mov ecx, edx
add cl, 0xbf
cmp cl, 0x1a
jb 0x5c7f8b
mov eax, edx
add al, 0x9f
cmp al, 0x1a
jae 0x5c7f7a
add dl, 0xb9
jmp 0x5c7f89
mov eax, edx
add al, 0xd0
cmp al, 0xa
jae 0x5c80d2
add dl, 4
mov ecx, edx
mov ah, byte [edi + 4]
mov dl, ah
add dl, 0xbf
cmp dl, 0x1a
jb 0x5c7fb6
mov al, ah
add al, 0x9f
cmp al, 0x1a
jae 0x5c7fa5
add ah, 0xb9
jmp 0x5c7fb4
mov al, ah
add al, 0xd0
cmp al, 0xa
jae 0x5c80ea
add ah, 4
mov dl, ah
mov ch, byte [edi + 5]
mov ah, ch
add ah, 0xbf
cmp ah, 0x1a
jb 0x5c7fe1
mov al, ch
add al, 0x9f
cmp al, 0x1a
jae 0x5c7fd0
add ch, 0xb9
jmp 0x5c7fdf
mov al, ch
add al, 0xd0
cmp al, 0xa
jae 0x5c8102
add ch, 4
mov ah, ch
mov dh, byte [edi + 6]
mov ch, dh
add ch, 0xbf
cmp ch, 0x1a
jb 0x5c800c
mov al, dh
add al, 0x9f
cmp al, 0x1a
jae 0x5c7ffb
add dh, 0xb9
jmp 0x5c800a
mov al, dh
add al, 0xd0
cmp al, 0xa
jae 0x5c811a
add dh, 4
mov ch, dh
mov al, byte [edi + 7]
mov dh, al
add dh, 0xbf
cmp dh, 0x1a
jb 0x5c8039
mov dh, al
add dh, 0x9f
cmp dh, 0x1a
jae 0x5c8027
add al, 0xb9
jmp 0x5c8037
mov dh, al
add dh, 0xd0
cmp dh, 0xa
jae 0x5c8132
add al, 4
mov dh, al
movzx esi, bl
movzx edi, cl
movzx eax, ah
movzx ecx, ch
shl esi, 6
add edi, esi
movzx esi, dl
shl edi, 6
add esi, edi
movzx edi, dh
shl esi, 6
add eax, esi
mov esi, dword [ebp + 8]
shl eax, 6
add ecx, eax
shl ecx, 6
add edi, ecx
cmp dword [ebp - 0x18], 0
je 0x5c7cb0
add edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
adc eax, 0
jb 0x5c7cb0
test eax, eax
jne 0x5c7cb0
cmp dword [ebp - 0x28], 0
jne 0x5c7cb0
mov ebx, dword [ebp - 0x14]
sub ebx, edi
jb 0x5c7cb0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
ja 0x5c7cb0
test ebx, ebx
je 0x5c7cb0
add edi, dword [ebp - 0x18]
mov edx, ebx
mov ecx, edi
call fcn.00533cd0
test eax, eax
je 0x5c7cb0
cmp edx, ebx
ja 0x5c7cb0
jmp 0x5c817c
cmp dl, 0x2b
je 0x5c8145
cmp dl, 0x2f
jne 0x5c7cb0
mov edi, dword [ebp - 0x10]
mov cl, 0x3f
jmp 0x5c7f8b
cmp ah, 0x2b
je 0x5c814c
cmp ah, 0x2f
jne 0x5c7cb0
mov edi, dword [ebp - 0x10]
mov dl, 0x3f
jmp 0x5c7fb6
cmp ch, 0x2b
je 0x5c8153
cmp ch, 0x2f
jne 0x5c7cb0
mov edi, dword [ebp - 0x10]
mov ah, 0x3f
jmp 0x5c7fe1
cmp dh, 0x2b
je 0x5c815a
cmp dh, 0x2f
jne 0x5c7cb0
mov edi, dword [ebp - 0x10]
mov ch, 0x3f
jmp 0x5c800c
cmp al, 0x2b
je 0x5c8161
cmp al, 0x2f
jne 0x5c7cb0
mov dh, 0x3f
jmp 0x5c8039
mov cl, 0x3e
jmp 0x5c7f8b
mov dl, 0x3e
jmp 0x5c7fb6
mov ah, 0x3e
jmp 0x5c7fe1
mov ch, 0x3e
jmp 0x5c800c
mov dh, 0x3e
jmp 0x5c8039
lea eax, [edi + 6]
nop dword [eax + eax]
mov edx, eax
sub edx, edi
cmp edx, 9
jae 0x5c81a7
mov dword [ebp - 0x10], edi
cmp edx, esi
jne 0x5c7cb0
push esi
push dword [ebp - 0x34]
push edi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x5c7cb0
jmp 0x5c81c7
lea eax, [edi + 7]
mov edx, eax
sub edx, edi
cmp edx, 9
jb 0x5c8179
mov ecx, edx
mov edx, 8
push 0x6882ec
call fcn.0045ab50
add esp, 4
ud2
xor eax, eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0x10]
mov eax, dword [edi + 0x1c]
mov ebx, dword [edi + 0x18]
cmp edx, esi
cmova edx, esi
mov esi, eax
add ebx, ecx
xor edi, edi
sub esi, ecx
cmp edx, esi
cmova ebx, edi
cmp eax, ecx
mov eax, ebx
cmovb eax, edi
jmp 0x5c81bf