Function at 0x4d8830
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
call fcn.004d4990
xor ebp, ebp
push ebp
push ebp
mov edx, str._servers_
mov ecx, 0x5b0200
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004b2440
push ebp
push ebp
mov edx, str._recent_
mov ecx, 0x5b0200
mov dword [esp + 0x20], eax
call fcn.004b2440
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
test eax, eax
mov edi, eax
je 0x4d895f
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ebp, 0xa
jge 0x4d895f
mov ecx, dword [edi]
mov edx, 0x5aa640
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4d8894
push 0x585f04
push 0x5aa640
call fcn.00570b40
add esp, 8
test eax, eax
je 0x4d8954
push 0x3a
push 0x5aa640
mov byte [eax], 0
call fcn.00570260
add esp, 8
test eax, eax
je 0x4d88e6
mov edi, edi
push 0x3a
push 0x5aa640
mov byte [eax], 0x2c
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4d88d0
cmp byte [0x5aa640], 0x2e
mov eax, 0x5aa640
jne 0x4d88fd
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x2e
je 0x4d88f4
cmp byte [eax], 0
je 0x4d8954
push 0x5aa640
push str._s:_
push 0x5aaa28
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
mov esi, ecx
je 0x4d893f
mov eax, dword [esi]
push 0x5aaa28
push eax
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4d8954
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4d8920
mov ecx, dword [esp + 0x10]
push 0
mov edx, 0x5aaa28
call fcn.004c7e10
test eax, eax
je 0x4d895f
mov dword [esp + 0x10], eax
inc ebp
mov edi, dword [edi + 0x40]
test edi, edi
jne 0x4d8884
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4d8978
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
jmp 0x4d8874
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 0
xor ebx, ebx
test eax, eax
mov ebp, eax
je 0x4d8a7b
cmp ebx, 5
jge 0x4d8a7b
mov ecx, dword [ebp]
mov edx, 0x5aa640
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4d89a1
push str.GROUP:
push 0x5aa640
call fcn.00570b40
mov esi, eax
add esp, 8
test esi, esi
je 0x4d8a70
mov al, byte [esi + 6]
add esi, 6
cmp al, 0x20
jne 0x4d89d9
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4d89d1
cmp byte [esi], 0
je 0x4d8a70
mov ecx, esi
call fcn.004f4570
test eax, eax
je 0x4d8a39
push 0x585f04
push 0x5aa640
call fcn.00570b40
add esp, 8
test eax, eax
je 0x4d8a39
push 0x20
push 0x5aa640
mov byte [eax], 0
call fcn.00570980
add esp, 8
test eax, eax
je 0x4d8a70
push 0x20
push 0x5aa640
mov byte [eax], 0
call fcn.00570980
mov esi, eax
add esp, 8
test esi, esi
je 0x4d8a70
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4d8a70
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov edi, ecx
je 0x4d8a5e
mov ecx, dword [edi]
push esi
push ecx
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4d8a70
mov edi, dword [edi + 0x40]
test edi, edi
jne 0x4d8a43
mov ecx, dword [esp + 0x14]
push 0
mov edx, esi
call fcn.004c7e10
test eax, eax
je 0x4d8a7b
mov dword [esp + 0x14], eax
inc ebx
mov ebp, dword [ebp + 0x40]
test ebp, ebp
jne 0x4d8990
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4d8a94
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
jmp 0x4d8986
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push edx
xor edx, edx
call fcn.004c8060
push 0
mov edx, 1
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.0051f5e0
mov dword [esp + 0x18], eax
mov ebp, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [0x5ac5e0], 0
je 0x4d8c6c
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
test ebp, ebp
mov edi, ebp
je 0x4d8c59
nop
mov ecx, dword [edi]
mov edx, 0x5aa640
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4d8ae7
push str.GROUP:
push 0x5aa640
call fcn.00570b40
mov esi, eax
add esp, 8
test esi, esi
je 0x4d8c4a
mov al, byte [esi + 6]
add esi, 6
cmp al, 0x20
jne 0x4d8b1f
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x4d8b17
cmp byte [esi], 0
je 0x4d8c4a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
push esi
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x4d8c4a
push 0x585f04
push 0x5aa640
call fcn.00570b40
add esp, 8
test eax, eax
je 0x4d8c4a
push 0x3a
push 0x5aa640
mov byte [eax], 0
call fcn.00570260
add esp, 8
test eax, eax
je 0x4d8b86
push 0x3a
push 0x5aa640
mov byte [eax], 0x2c
call fcn.00570260
add esp, 8
test eax, eax
jne 0x4d8b70
cmp byte [0x5aa640], 0x2e
mov eax, 0x5aa640
jne 0x4d8b9d
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x2e
je 0x4d8b94
cmp byte [eax], 0
je 0x4d8c4a
push esi
push 0x5ac5e0
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4d8be7
mov edx, 0x5ac5e0
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4d8bc1
mov ecx, dword [esp + 0x10]
push 0
mov edx, 0x5ac5e0
call fcn.004c7e10
test eax, eax
je 0x4d8c55
mov dword [esp + 0x10], eax
push 0x5aa640
push str.._s:_
push 0x5aaa28
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
mov esi, ecx
je 0x4d8c24
mov edx, dword [esi]
push 0x5aaa28
push edx
call fcn.005809c6
add esp, 8
test eax, eax
je 0x4d8c38
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4d8c05
mov ecx, dword [esp + 0x10]
push 0
mov edx, 0x5aaa28
call fcn.004c7e10
test eax, eax
je 0x4d8c55
mov dword [esp + 0x10], eax
mov esi, dword [edi + 0x40]
mov edx, edi
mov ecx, ebp
call fcn.004c7fe0
mov ebp, eax
mov edi, esi
jmp 0x4d8c4d
mov edi, dword [edi + 0x40]
test edi, edi
jne 0x4d8ae0
mov eax, dword [esp + 0x14]
mov ecx, eax
call fcn.004c7f30
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4d8ad5
lea ecx, [esp + 0x14]
call fcn.004c8280
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.004c8280
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x4d8d05
call fcn.004d2f50
mov eax, dword [esp + 0x10]
mov dword [0x5aa0fc], ebx
mov dword [0x5aa100], ebx
mov dword [0x5aa0ec], eax
call fcn.004e27f0
mov ecx, 0x5aa0f0
mov dword [0x5aa558], eax
call fcn.004c8280
mov ecx, dword [str.server]
mov dx, word [0x584d38]
mov al, byte [0x584d3a]
mov dword [0x5aa108], ecx
xor ecx, ecx
mov word [0x5aa10c], dx
mov byte [0x5aa10e], al
call fcn.004d2710
mov ecx, eax
mov dword [0x5aa0e0], eax
call fcn.004d22f0
lea ecx, [esp + 0x10]
call fcn.004c8280
mov eax, dword [0x5aa0e0]
jmp 0x4d8d18
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp eax, ebx
mov dword [0x5aa0e0], eax
je 0x4d8df4
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, dword [sym.imp.USER32.dll_InsertMenuA]
mov edi, eax
cmp edi, ebx
jle 0x4d8d40
mov ecx, dword [0x5aa0e0]
push 0x583b74
push ebx
push 0xc00
push ebx
push ecx
call esi
xor edx, edx
mov ecx, 0xee0
call fcn.0041d620
mov edx, dword [0x5aa0e0]
push eax
push 0x1b57
push 0x400
push ebx
push edx
call esi
cmp edi, ebx
mov esi, dword [sym.imp.USER32.dll_AppendMenuA]
jg 0x4d8d9b
mov eax, dword [0x5aa0e0]
push 0x583b74
push ebx
push 0x800
push eax
call esi
xor edx, edx
mov ecx, 0xf01
call fcn.0041d620
mov ecx, dword [0x5aa0e0]
push eax
push 0x1b58
push 1
push ecx
call esi
mov edx, dword [0x5aa0e0]
push 0x583b74
push ebx
push 0x800
push edx
call esi
xor edx, edx
mov ecx, 0xf1d
call fcn.0041d620
push eax
mov eax, dword [0x5aa0e0]
push 0x64
push ebx
push eax
call esi
cmp edi, ebx
jg 0x4d8de4
mov ecx, dword [0x5aa0e0]
push 1
push 0x64
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edx, dword [0x5aa0e0]
push ebx
push 0x64
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret