Function at 0x41c640
Capabilities:
Get hostname

Disassembly:
push 0x248
mov eax, 0x446cb2
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.0041c383
mov eax, dword [edi + 4]
sub eax, dword [edi]
pop ecx
pop ecx
cmp eax, 8
jae 0x41c699
push 0xc
push 8
mov ecx, edi
call fcn.00413b20
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.0041c585
pop ecx
push eax
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00408d90
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00409e20
lea eax, [ebp - 0x1f4]
push eax
call fcn.004155d0
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 0x41c758
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.00408e10
cmp dword [ebp - 0x200], esi
je 0x41c777
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00409cc0
jmp 0x41c7a5
lea eax, [ebp - 0x1d8]
push eax
call fcn.0041d3b3
pop ecx
push eax
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.00408d90
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00409e20
cmp dword [ebp - 0x1ac], esi
jne 0x41c7c2
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00409cc0
cmp dword [ebp - 0x1ac], 0x10
jae 0x41c821
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.0041c334
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 6
call fcn.004057a0
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 3
call fcn.00409e20
mov eax, dword [ebp - 0x1ac]
cmp eax, 0x10
jbe 0x41c83d
add eax, 0xfffffff0
push eax
push 0x10
lea ecx, [ebp - 0x1bc]
call fcn.00409930
lea ecx, [ebp - 0x24c]
call fcn.00421cbc
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1d8]
push eax
mov byte [ebp - 4], bl
call fcn.00408ab0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x41c86c
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.00409810
push esi
push edi
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], bl
call fcn.004097c0
push dword [ebp - 0x254]
lea ecx, [ebp - 0x24c]
call fcn.00421ad6
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.00421973
push esi
push edi
lea ecx, [ebp - 0x1bc]
call fcn.00409e20
push esi
push edi
lea ecx, [ebp - 0x210]
call fcn.00409e20
push esi
push edi
lea ecx, [ebp - 0x1f4]
call fcn.00409e20
push esi
push edi
lea ecx, [ebp - 0x22c]
call fcn.00409e20
call fcn.0042be83
ret