Function at 0x4041c0
Capabilities:
Check for sandbox username or hostname
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4081de
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x40d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.USER
lea ecx, [ebp - 0x128]
call fcn.00401c10
push str.ANDY
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0
call fcn.00401c10
push str.COMPUTERNAME
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00401c10
push str.CUCKOO
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.00401c10
push str.SANDBOX
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 3
call fcn.00401c10
push str.NMSDBOX
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00401c10
push str.XXXX_OX
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.00401c10
push str.CWSX
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00401c10
push str.WILBERT_SC
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00401c10
push str.XPAMAST_SC
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00401c10
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 9
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x144], 0x21
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401a90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x15c]
cmp dword [ebp - 0x148], 7
mov eax, dword [ebp - 0x14c]
cmova ecx, dword [ebp - 0x15c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x15c]
cmova ecx, dword [ebp - 0x15c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.00401f70
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x148]
cmp ecx, 7
jbe 0x404366
mov edx, dword [ebp - 0x15c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40435c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40435c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004070ec
add esp, 8
xor eax, eax
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 7
mov word [ebp - 0x15c], ax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x140]
cmp dword [ebp - 0x12c], 0xf
lea edi, [ebp - 0x140]
mov edx, dword [ebp - 0x140]
lea esi, [ebp - 0x140]
mov eax, dword [ebp - 0x130]
cmova ecx, edx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
cmova edi, edx
add eax, ecx
cmp dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x178], eax
cmova esi, edx
nop word [eax + eax]
cmp esi, eax
je 0x4043e9
movsx eax, byte [esi]
push eax
call ebx
mov byte [edi], al
add esp, 4
mov eax, dword [ebp - 0x178]
inc esi
inc edi
jmp 0x4043d0
xor edi, edi
nop dword [eax + eax]
cmp edi, 0xa
jae 0x40452f
lea eax, [edi + edi*2]
lea esi, [ebp - 0x128]
mov ebx, dword [esi + eax*8 + 0x14]
lea esi, [esi + eax*8]
mov eax, esi
cmp ebx, 0xf
jbe 0x404412
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x140]
call fcn.00402320
test al, al
je 0x404529
mov ecx, dword [esi + 0x10]
mov eax, ebx
sub eax, ecx
cmp eax, 4
jb 0x40444f
lea eax, [ecx + 4]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ebx, 0xf
jbe 0x404441
mov eax, dword [esi]
mov dword [eax + ecx], 0x7478742e
mov byte [eax + ecx + 4], 0
jmp 0x40446e
push 4
push str..txt
mov byte [ebp - 0x178], 0
mov ecx, esi
push dword [ebp - 0x178]
push 4
call fcn.004021c0
mov esi, eax
push esi
lea ecx, [ebp - 0x174]
call fcn.00401d20
mov ecx, dword [ebp - 0x160]
cmp ecx, 0xf
jbe 0x4044b4
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4044aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40455f
push ecx
push edx
call fcn.004070ec
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0xf
jbe 0x4044ee
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4044e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40455f
push ecx
push edx
call fcn.004070ec
add esp, 8
push fcn.00401bc0
push 0xa
push 0x18
lea eax, [ebp - 0x128]
mov dword [ebp - 0x130], 0
push eax
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00406fd7
mov al, 1
jmp 0x40458d
inc edi
jmp 0x4043f0
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x12c]
cmp ebx, 0xf
jbe 0x40456f
mov edx, dword [ebp - 0x140]
inc ebx
mov eax, edx
cmp ebx, 0x1000
jb 0x404565
mov edx, dword [eax - 4]
add ebx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404565
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebx
push edx
call fcn.004070ec
add esp, 8
push fcn.00401bc0
push 0xa
push 0x18
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.00406fd7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406f99
mov esp, ebp
pop ebp
ret