Function at 0x41cc55
Capabilities:
Get hostname

Disassembly:
push 0x264
mov eax, 0x446d68
call fcn.0042be10
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 0x41c9b2
lea eax, [ebp - 0x1a0]
push eax
call fcn.0042c221
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.0042c221
pop ecx
push eax
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00408e30
test byte [ebp + 0xc], 4
je 0x41c9c9
lea eax, [ebp - 0x22c]
push eax
push edi
call fcn.0041c37d
pop ecx
pop ecx
jmp 0x41ca05
mov ebx, dword [ebp - 0x1ac]
cmp ebx, 8
jbe 0x41c9d7
push 8
pop ebx
cmp ebx, esi
je 0x41ca05
push ebx
mov ecx, edi
call fcn.0040d950
cmp dword [ebp - 0x1a8], 8
mov ecx, dword [ebp - 0x1bc]
jae 0x41c9f8
lea ecx, [ebp - 0x1bc]
mov eax, dword [edi]
push ebx
push ecx
push eax
call fcn.0042b3c0
add esp, 0xc
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
cmp ebx, 8
jae 0x41ca51
push 0xc
push 8
mov ecx, edi
call fcn.00413b50
push 8
pop eax
sub eax, ebx
cmp eax, dword [ebp - 0x1ac]
jbe 0x41ca2d
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x1a8], 8
mov edx, dword [ebp - 0x1bc]
jae 0x41ca42
lea edx, [ebp - 0x1bc]
mov ecx, dword [edi]
push eax
push edx
add ecx, ebx
push ecx
call fcn.0042b3c0
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 0x41cac3
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041c57f
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 0x41caf7
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041d3b3
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 0x41cb95
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.0041c32e
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.00421c24
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 0x41cbc7
mov edi, dword [eax]
jmp 0x41cbc9
mov edi, eax
push edi
call fcn.0042c5b0
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.00421a3e
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.004218db
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.0042be93
ret
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xffffffff
je 0x41cc6a
cmp dword [ebp + 0xc], 7
je 0x41cc6a
pop ebp
jmp 0x41c8ef
push dword [ebp + 8]
call fcn.0041c63a
pop ecx
pop ebp
ret