Function at 0x4e6580
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570366
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ecx + 0x130]
mov dword [ebp - 0x5b0], edi
test edi, edi
je 0x4e65c4
mov ecx, edi
call fcn.004f0b18
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x5ac]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x5ac], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4e667c
lea edx, [ebp - 0x20]
push edx
call fcn.0053b3d3
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00534b40
lea ecx, [ebp - 0x420]
push 0x400
push ecx
call fcn.00434b60
add esp, 0x18
lea ecx, [ebp - 0x420]
lea eax, [ebp - 0x20]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6660
test dl, dl
je 0x4e665c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6660
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6640
xor eax, eax
jmp 0x4e6665
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e667c
mov edx, dword [ebp - 0x5ac]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00434be0
add esp, 8
lea ecx, [ebp - 0x5a8]
call fcn.00431170
lea ecx, [ebp - 0x5a8]
mov byte [ebp - 4], 1
xor esi, esi
call fcn.00430f50
test eax, eax
jne 0x4e66c7
push 0x5d
push eax
lea ecx, [ebp - 0x480]
push ecx
call fcn.00534b40
add esp, 0xc
lea edx, [ebp - 0x480]
push edx
lea ecx, [ebp - 0x5a8]
call fcn.004310d0
test eax, eax
jne 0x4e66c7
lea esi, [eax + 1]
lea ecx, [ebp - 0x5a8]
call fcn.00430e30
test esi, esi
je 0x4e6873
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00534b40
lea ecx, [ebp - 0x420]
push 0x400
push ecx
call fcn.00434690
add esp, 0x14
lea ecx, [ebp - 0x480]
lea eax, [ebp - 0x420]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6730
test dl, dl
je 0x4e672c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6730
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6710
xor eax, eax
jmp 0x4e6735
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e675b
lea eax, [ebp - 0x480]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e6742
sub eax, edx
push eax
lea edx, [ebp - 0x480]
push edx
call fcn.004346b0
add esp, 8
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00534b40
lea ecx, [ebp - 0x420]
push 0x400
push ecx
call fcn.004346d0
add esp, 0x14
lea ecx, [ebp - 0x46b]
lea eax, [ebp - 0x420]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e67b0
test dl, dl
je 0x4e67ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e67b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6790
xor eax, eax
jmp 0x4e67b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e67db
lea eax, [ebp - 0x46b]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e67c2
sub eax, edx
push eax
lea edx, [ebp - 0x46b]
push edx
call fcn.004346f0
add esp, 8
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00534b40
lea ecx, [ebp - 0x420]
push 0x400
push ecx
call fcn.00434aa0
add esp, 0x14
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x420]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e6830
test dl, dl
je 0x4e682c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e6830
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e6810
xor eax, eax
jmp 0x4e6835
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e685b
lea eax, [ebp - 0x438]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e6842
sub eax, edx
push eax
lea edx, [ebp - 0x438]
push edx
call fcn.00434ac0
add esp, 8
call fcn.00434ae0
mov ecx, dword [ebp - 0x427]
cmp eax, ecx
je 0x4e6873
push ecx
call fcn.00434b10
add esp, 4
lea ecx, [ebp - 0x5a8]
mov byte [ebp - 4], 0
call fcn.004311b0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4e6894
mov ecx, edi
call fcn.004f0b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret