Function at 0x41c770
Capabilities:
Get hostname

Disassembly:
push 0x248
mov eax, 0x446e3c
call fcn.0042bf50
mov edi, dword [ebp + 8]
push 7
pop ebx
xor esi, esi
xor eax, eax
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], esi
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22c]
push eax
push edi
mov dword [ebp - 4], esi
call fcn.0041c4b3
mov eax, dword [edi + 4]
sub eax, dword [edi]
pop ecx
pop ecx
cmp eax, 8
jae 0x41c7c9
push 0xc
push 8
mov ecx, edi
call fcn.00413ba0
xor eax, eax
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1e4], esi
mov word [ebp - 0x1f4], ax
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x200], esi
mov word [ebp - 0x210], ax
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1ac], esi
mov word [ebp - 0x1bc], ax
lea eax, [ebp - 0x1d8]
push eax
mov byte [ebp - 4], 3
call fcn.0041c6b5
pop ecx
push eax
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00408db0
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00409e50
lea eax, [ebp - 0x1f4]
push eax
call fcn.00415620
pop ecx
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x250], 0xc8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x41c888
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c361
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x210]
call fcn.00408e30
cmp dword [ebp - 0x200], esi
je 0x41c8a7
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00409cf0
jmp 0x41c8d5
lea eax, [ebp - 0x1d8]
push eax
call fcn.0041d4e9
pop ecx
push eax
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.00408db0
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00409e50
cmp dword [ebp - 0x1ac], esi
jne 0x41c8f2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00409cf0
cmp dword [ebp - 0x1ac], 0x10
jae 0x41c951
push 0x61
xor eax, eax
push 0x10
mov word [ebp - 0x1d8], ax
pop eax
sub eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1d8]
push eax
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c8], esi
call fcn.0041c464
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 6
call fcn.00405780
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00409e50
mov eax, dword [ebp - 0x1ac]
cmp eax, 0x10
jbe 0x41c96d
add eax, 0xfffffff0
push eax
push 0x10
lea ecx, [ebp - 0x1bc]
call fcn.00409960
lea ecx, [ebp - 0x24c]
call fcn.00421dff
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1d8]
push eax
mov byte [ebp - 4], bl
call fcn.00408ad0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x41c99c
mov eax, dword [eax]
push eax
mov dword [ebp - 0x250], eax
call fcn.0042c6f0
pop ecx
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x248]
call fcn.00409840
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], bl
call fcn.004097f0
push dword [ebp - 0x254]
lea ecx, [ebp - 0x24c]
call fcn.00421c19
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.00421ab6
push esi
push edi
lea ecx, [ebp - 0x1bc]
call fcn.00409e50
push esi
push edi
lea ecx, [ebp - 0x210]
call fcn.00409e50
push esi
push edi
lea ecx, [ebp - 0x1f4]
call fcn.00409e50
push esi
push edi
lea ecx, [ebp - 0x22c]
call fcn.00409e50
call fcn.0042bfd3
ret