Function at 0x41c635
Capabilities:
Get hostname

Disassembly:
push 0x248
mov eax, 0x446cc2
call fcn.0042be00
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.0041c378
mov eax, dword [edi + 4]
sub eax, dword [edi]
pop ecx
pop ecx
cmp eax, 8
jae 0x41c68e
push 0xc
push 8
mov ecx, edi
call fcn.00413b50
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.0041c57a
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.004155e0
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 0x41c74d
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c211
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x210]
call fcn.00408e30
cmp dword [ebp - 0x200], esi
je 0x41c76c
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00409cf0
jmp 0x41c79a
lea eax, [ebp - 0x1d8]
push eax
call fcn.0041d3ae
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 0x41c7b7
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00409cf0
cmp dword [ebp - 0x1ac], 0x10
jae 0x41c816
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.0041c329
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 0x41c832
add eax, 0xfffffff0
push eax
push 0x10
lea ecx, [ebp - 0x1bc]
call fcn.00409960
lea ecx, [ebp - 0x24c]
call fcn.00421c1f
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 0x41c861
mov eax, dword [eax]
push eax
mov dword [ebp - 0x250], eax
call fcn.0042c5a0
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.00421a39
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.004218d6
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.0042be83
ret