Function at 0x59ca00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff80c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x7f4], eax
mov dword [ebp - 0x7f0], eax
mov ebx, 0x7d3964
lea esi, [ebp - 0x1a]
xor eax, eax
push ebp
push 0x59cd83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor ecx, ecx
mov edx, 0x16
call fcn.0047eb7c
lea eax, [ebp - 0x7ea]
xor ecx, ecx
mov edx, 0x7d0
call fcn.0047eb7c
mov eax, esi
mov cl, 1
mov dl, 0x1f
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 1]
xor edx, edx
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 2]
mov dl, 0x16
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 3]
mov dl, 0x17
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 4]
mov dl, 1
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 5]
mov dl, 2
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 6]
mov dl, 3
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 7]
mov dl, 4
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 8]
mov dl, 5
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 9]
mov dl, 6
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0xc]
mov dl, 7
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0xd]
mov dl, 8
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x11]
mov dl, 9
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x15]
mov dl, 0xa
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x19]
mov dl, 0xb
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x1d]
mov dl, 0xc
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x22]
mov dl, 0xd
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x23]
mov dl, 0xe
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x24]
mov dl, 0xf
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x25]
mov dl, 0x10
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x26]
mov dl, 0x11
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x27]
mov dl, 0x12
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x28]
mov dl, 0x13
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x2a]
mov dl, 0x14
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x2b]
mov dl, 0x15
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x2c]
mov dl, 0x18
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x37]
mov dl, 0x19
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x29]
mov dl, 0x1a
call fcn.0047ef14
mov eax, esi
movzx ecx, byte [ebx + 0x2d]
mov dl, 0x1b
call fcn.0047ef14
movzx eax, word [ebx + 0xa]
mov word [esi + 4], ax
movzx eax, word [ebx + 0xe]
mov word [esi + 6], ax
movzx eax, byte [ebx + 0x10]
mov byte [esi + 8], al
movzx eax, word [ebx + 0x12]
mov word [esi + 9], ax
movzx eax, byte [ebx + 0x14]
mov byte [esi + 0xb], al
movzx eax, word [ebx + 0x16]
mov word [esi + 0xc], ax
movzx eax, byte [ebx + 0x18]
mov byte [esi + 0xe], al
movzx eax, word [ebx + 0x1a]
mov word [esi + 0xf], ax
movzx eax, byte [ebx + 0x1c]
mov byte [esi + 0x11], al
movzx eax, word [ebx + 0x1e]
mov word [esi + 0x12], ax
movzx eax, byte [ebx + 0x20]
mov byte [esi + 0x14], al
movzx eax, byte [ebx + 0x21]
mov byte [esi + 0x15], al
push 0
push 0
push 1
lea ecx, [ebp - 0x7f0]
mov eax, esi
mov edx, 0x16
call fcn.004b5a50
mov eax, dword [ebp - 0x7f0]
push eax
mov eax, dword [0x68fc2c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x79
call fcn.0050a9c0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [0x68fb20]
mov eax, dword [eax]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x59cd0b
inc edi
xor esi, esi
mov eax, dword [0x68fb20]
mov eax, dword [eax]
mov edx, esi
call fcn.0041b280
mov ebx, eax
mov eax, dword [0x68fba8]
mov eax, dword [eax]
mov edx, esi
call fcn.0041b280
mov edx, eax
cmp byte [ebx + 0x6b], 0
je 0x59cd03
movzx ecx, byte [edx]
movzx eax, byte [ebx + 0x66]
cmp cl, al
jne 0x59ccb1
movzx ecx, byte [edx + 2]
cmp cl, byte [ebx + 0x68]
jne 0x59ccb1
movzx edx, byte [edx + 1]
cmp dl, byte [ebx + 0x67]
je 0x59cd03
movzx edx, word [ebx]
inc edx
mov ecx, dword [ebp - 4]
mov word [ebp + ecx*2 - 0x7ea], dx
test al, al
je 0x59ccd1
mov eax, dword [ebp - 4]
or word [ebp + eax*2 - 0x7ea], 0x2000
cmp byte [ebx + 0x68], 0
je 0x59cce4
mov eax, dword [ebp - 4]
or word [ebp + eax*2 - 0x7ea], 0x4000
cmp byte [ebx + 0x67], 0
je 0x59ccf7
mov eax, dword [ebp - 4]
or word [ebp + eax*2 - 0x7ea], 0x8000
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x3e8
jg 0x59cd0b
inc esi
dec edi
jne 0x59cc6e
cmp dword [ebp - 4], 0
jle 0x59cd4a
push 0
push 0
push 2
lea ecx, [ebp - 0x7f4]
mov edx, dword [ebp - 4]
add edx, edx
lea eax, [ebp - 0x7ea]
call fcn.004b5a50
mov eax, dword [ebp - 0x7f4]
push eax
mov eax, dword [0x68fc2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, 0x79
call fcn.0050a9c0
jmp 0x59cd65
push 0
push 0
push 2
push 0
mov eax, dword [0x68fc2c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x79
call fcn.0050a9c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59cd8a
lea eax, [ebp - 0x7f4]
mov edx, 2
call fcn.00405258
ret