Function at 0x41cc50
Capabilities:
Get hostname

Disassembly:
push 0x264
mov eax, 0x446d58
call fcn.0042be00
mov edi, dword [ebp + 8]
push 7
pop eax
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1ac], esi
mov word [ebp - 0x1bc], cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], esi
mov word [ebp - 0x22c], cx
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x238], esi
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 0xc8
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x41c9ad
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c211
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x248]
call fcn.00408e30
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c211
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00408e30
test byte [ebp + 0xc], 4
je 0x41c9c4
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.0041c378
pop ecx
pop ecx
jmp 0x41ca00
mov ebx, dword [ebp - 0x1ac]
cmp ebx, 8
jbe 0x41c9d2
push 8
pop ebx
cmp ebx, esi
je 0x41ca00
push ebx
mov ecx, edi
call fcn.0040d950
cmp dword [ebp - 0x1a8], 8
mov ecx, dword [ebp - 0x1bc]
jae 0x41c9f3
lea ecx, [ebp - 0x1bc]
mov eax, dword [edi]
push ebx
push ecx
push eax
call fcn.0042b3b0
add esp, 0xc
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
cmp ebx, 8
jae 0x41ca4c
push 0xc
push 8
mov ecx, edi
call fcn.00413b50
push 8
pop eax
sub eax, ebx
cmp eax, dword [ebp - 0x1ac]
jbe 0x41ca28
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x1a8], 8
mov edx, dword [ebp - 0x1bc]
jae 0x41ca3d
lea edx, [ebp - 0x1bc]
mov ecx, dword [edi]
push eax
push edx
add ecx, ebx
push ecx
call fcn.0042b3b0
add esp, 0xc
push 7
pop edi
xor eax, eax
mov dword [ebp - 0x1fc], edi
mov dword [ebp - 0x200], esi
mov word [ebp - 0x210], ax
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1c8], esi
mov word [ebp - 0x1d8], ax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], 4
test byte [ebp + 0xc], bl
je 0x41cabe
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041c57a
pop ecx
push eax
lea ecx, [ebp - 0x210]
mov byte [ebp - 4], 5
call fcn.00408db0
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00409e50
lea eax, [ebp - 0x210]
push eax
call fcn.004155e0
pop ecx
test byte [ebp + 0xc], 2
je 0x41caf2
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041d3ae
pop ecx
push eax
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 6
call fcn.00408db0
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00409e50
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405780
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405780
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405780
cmp dword [ebp - 0x1c8], 0x10
jae 0x41cb90
push 0x61
xor eax, eax
push 0x10
mov word [ebp - 0x1f4], ax
pop eax
sub eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1f4]
push eax
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1e4], esi
call fcn.0041c329
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 7
call fcn.00405780
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 4
call fcn.00409e50
lea ecx, [ebp - 0x268]
call fcn.00421c1f
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1f4]
push eax
mov byte [ebp - 4], 8
call fcn.00408ad0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x41cbc2
mov edi, dword [eax]
jmp 0x41cbc4
mov edi, eax
push edi
call fcn.0042c5a0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x264]
call fcn.00409840
push esi
push ebx
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 8
call fcn.004097f0
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
call fcn.00421a39
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.004218d6
push esi
push ebx
lea ecx, [ebp - 0x1d8]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x210]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x248]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x22c]
call fcn.00409e50
push esi
push ebx
lea ecx, [ebp - 0x1bc]
call fcn.00409e50
call fcn.0042be83
ret
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xffffffff
je 0x41cc65
cmp dword [ebp + 0xc], 7
je 0x41cc65
pop ebp
jmp 0x41c8ea
push dword [ebp + 8]
call fcn.0041c635
pop ecx
pop ebp
ret