Function at 0x517a60
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x59a181
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov eax, dword [0x59f140]
push ebx
push esi
push edi
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0xdc], 4
call fcn.00503fd0
push eax
lea ecx, [esp + 0x1c]
call fcn.00579c8c
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 5
call fcn.0057a19a
lea ecx, [esp + 0x34]
call fcn.004322b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 6
call fcn.004322b0
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x58]
lea ecx, [esp + 0x70]
push eax
push ecx
mov byte [esp + 0xe4], 7
mov dword [esp + 0x60], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x517b28
lea edx, [esp + 0x70]
lea ecx, [esp + 0x14]
push edx
call fcn.00427bc0
mov dword [esp + 0x20], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x20]
mov ecx, 0x5f44c0
push eax
mov byte [esp + 0xe0], 8
call fcn.0051dac0
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, ebx
jle 0x517bc3
xor esi, esi
mov ecx, dword [esp + 0x24]
lea eax, [esi + ecx + 0x410]
push eax
call fcn.004159a1
mov edx, dword [esp + 0x28]
add esp, 4
lea ecx, [esp + 0x18]
lea eax, [esi + edx + 0x410]
push eax
call fcn.00576cb5
cmp eax, 0xffffffff
jne 0x517ba2
mov eax, dword [esp + 0x28]
inc edi
add esi, 0x838
cmp edi, eax
jl 0x517b63
jmp 0x517bc3
mov ecx, edi
mov edx, dword [esp + 0x24]
shl ecx, 5
add ecx, edi
shl ecx, 3
sub ecx, edi
lea eax, [edx + ecx*8 + 0x618]
lea ecx, [esp + 0xc]
push eax
call fcn.00427bc0
push ebp
mov dword [esp + 0x48], 0x5a57d4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x48]
push 3
push ecx
mov ecx, 0x5f44c0
mov byte [esp + 0xe8], 9
call fcn.0051aa90
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov esi, 1
xor ebp, ebp
movsx ecx, byte [edx]
sub ecx, 0x41
shl esi, cl
cmp eax, ebx
jle 0x517c62
xor edi, edi
mov eax, dword [esp + 0x4c]
test dword [edi + eax + 8], esi
je 0x517c2f
lea eax, [edi + eax + 0x1c4]
lea ecx, [esp + 0x14]
push eax
call fcn.00427bc0
jmp 0x517c53
lea ecx, [edi + eax + 0x1c4]
push ecx
lea ecx, [esp + 0x24]
call fcn.00427bc0
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.00432a00
mov eax, dword [esp + 0x50]
inc ebp
add edi, 0x2b4
cmp ebp, eax
jl 0x517c12
lea ecx, [esp + 0x60]
push ecx
call fcn.00520630
add esp, 4
lea ecx, [esp + 0x14]
push 0x5de3ec
call fcn.0042b450
push 0x5de3ec
lea ecx, [esp + 0x18]
call fcn.0042b190
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xe8]
pop ebp
cmp dword [edx - 8], ebx
je 0x517cb6
test byte [esp + 0xe8], 1
je 0x517cb6
mov eax, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.00432a00
test byte [esp + 0xe8], 2
je 0x517d10
mov eax, dword [esp + 0x38]
xor esi, esi
cmp eax, ebx
jle 0x517d10
mov edx, dword [esp + 0x34]
push 0x5de3ec
lea ecx, [edx + esi*4]
call fcn.0042b450
mov eax, dword [esp + 0x34]
push 0x5de3ec
lea ecx, [eax + esi*4]
call fcn.0042b190
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
cmp dword [edx - 8], ebx
je 0x517d07
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.00432a00
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x517cca
test byte [esp + 0xe8], 1
je 0x517d6a
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, ebx
jle 0x517d6a
mov eax, dword [esp + 0x5c]
push 0x5de3ec
lea ecx, [eax + esi*4]
call fcn.0042b450
mov ecx, dword [esp + 0x5c]
push 0x5de3ec
lea ecx, [ecx + esi*4]
call fcn.0042b190
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + esi*4]
lea eax, [edx + esi*4]
cmp dword [ecx - 8], ebx
je 0x517d61
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.00432a00
mov eax, dword [esp + 0x60]
inc esi
cmp esi, eax
jl 0x517d24
push 0x5de3ec
lea ecx, [esp + 0x10]
call fcn.0042b450
push 0x5de3ec
lea ecx, [esp + 0x10]
call fcn.0042b190
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], ebx
je 0x517da9
test byte [esp + 0xe8], 4
je 0x517da9
mov eax, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00432a00
push 0x5de3ec
lea ecx, [esp + 0x18]
call fcn.0042b450
push 0x5de3ec
lea ecx, [esp + 0x18]
call fcn.0042b190
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebx
je 0x517de8
test byte [esp + 0xe8], 8
je 0x517de8
mov eax, dword [edi + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.00432a00
mov edi, dword [edi + 4]
xor edx, edx
cmp edi, ebx
mov dword [esp + 0x44], 0x5a57d4
setne dl
mov esi, edx
mov eax, dword [esp + 0x48]
mov byte [esp + 0xdc], 0xa
cmp eax, ebx
je 0x517e15
push eax
call fcn.00579886
add esp, 4
mov dword [esp + 0x20], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x24]
mov byte [esp + 0xdc], 0xb
cmp eax, ebx
je 0x517e36
push eax
call fcn.00579886
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xdc], 6
call fcn.004322c0
lea ecx, [esp + 0x34]
mov byte [esp + 0xdc], 5
call fcn.004322c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 4
call fcn.00579c1e
lea ecx, [esp + 0x6c]
mov byte [esp + 0xdc], 3
call fcn.00427900
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 2
call fcn.00427900
lea ecx, [esp + 0xc]
mov byte [esp + 0xdc], 1
call fcn.00427900
lea ecx, [esp + 0x14]
mov byte [esp + 0xdc], bl
call fcn.00427900
lea ecx, [esp + 0x1c]
mov dword [esp + 0xdc], 0xffffffff
call fcn.00427900
mov ecx, dword [esp + 0xd4]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret