Function at 0x4b7ac1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi]
sub eax, ecx
je 0x4b7cad
sub eax, 1
je 0x4b7c15
sub eax, 1
jne 0x4b7cc9
mov eax, ecx
mov byte [esp + 0x38], 0x5b
lea edx, [edi + 5]
mov dword [esp + 0x10], eax
lea esi, [esp + 0x39]
mov ebx, ecx
mov edi, eax
cmp byte [edx - 1], 0
jne 0x4b7b29
cmp byte [edx], 0
jne 0x4b7b29
mov eax, ecx
sub eax, ebx
inc eax
cmp eax, dword [esp + 0x10]
cmovbe eax, dword [esp + 0x10]
cmova edi, ebx
mov dword [esp + 0x10], eax
jmp 0x4b7b2c
lea ebx, [ecx + 1]
inc ecx
add edx, 2
cmp ecx, 8
jb 0x4b7b07
mov dword [esp + 0x14], edi
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jne 0x4b7b5e
cmp eax, 1
jbe 0x4b7b5e
dec ebx
mov byte [esi], 0x3a
add ebx, eax
inc esi
cmp ebx, 7
jne 0x4b7bba
mov byte [esi], 0x3a
inc esi
jmp 0x4b7bba
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4b7b6e
mov byte [esi], 0x3a
inc esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [edi + 4]
push 2
lea ecx, [ecx + ebx*2]
pop edx
call fcn.00497a72
cmp byte [esp + 0x20], 0x30
mov eax, dword [esp + 0x1c]
pop ecx
mov byte [esp + 0x20], 0
jne 0x4b7b98
inc eax
cmp byte [eax], 0x30
je 0x4b7b92
mov cl, byte [eax]
test cl, cl
jne 0x4b7ba6
mov byte [esi], 0x30
inc esi
test cl, cl
je 0x4b7bb2
sub eax, esi
mov byte [esi], cl
inc esi
mov cl, byte [eax + esi]
test cl, cl
jne 0x4b7ba8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, 8
jb 0x4b7b43
cmp dword [edi + 0x18], 0
je 0x4b7bda
mov byte [esi], 0x40
inc esi
push 0
push dword [edi + 0x18]
mov ecx, esi
call fcn.00497839
pop ecx
pop ecx
add esi, eax
mov byte [esi], 0x5d
inc esi
cmp dword [edi + 0x14], 0
jbe 0x4b7bf8
mov byte [esi], 0x3a
inc esi
push 0
push dword [edi + 0x14]
mov ecx, esi
call fcn.00497839
pop ecx
pop ecx
add esi, eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x38]
mov byte [esi], 0
mov esi, dword [ebp + 0xc]
push esi
push eax
push ebx
call fcn.00554ec0
add esp, 0xc
jmp 0x4b7ca6
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx eax, byte [edi + 7]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
cmp dword [edi + 0x14], ecx
jbe 0x4b7c61
push dword [edi + 0x14]
mov dword [esp + 0x2c], str._d._d._d._d:_d
push ecx
push eax
movzx eax, byte [edi + 6]
push ecx
push eax
movzx eax, byte [edi + 5]
push ecx
push eax
movzx eax, byte [edi + 4]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.00497435
pop ecx
mov ecx, eax
jmp 0x4b7c80
push eax
movzx eax, byte [edi + 6]
push ecx
push eax
movzx eax, byte [edi + 5]
push ecx
push eax
movzx eax, byte [edi + 4]
push ecx
mov dword [esp + 0x40], str._d._d._d._d
lea ecx, [esp + 0x3c]
push eax
call fcn.00497435
pop ecx
mov ecx, eax
call fcn.00497435
pop ecx
mov ecx, eax
call fcn.00497435
pop ecx
mov ecx, eax
call fcn.00497435
lea ecx, [esp + 0x24]
call fcn.004970c0
mov byte [ebx + esi - 1], 0
jmp 0x4b7ccc
mov esi, dword [ebp + 0xc]
lea ecx, [esi - 1]
push ecx
push str.NET_ADDR_NONE
push dword [ebp + 8]
call fcn.00554ec0
mov ebx, dword [ebp + 8]
add esp, 0xc
jmp 0x4b7ca6
mov ebx, dword [ebp + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8