Function at 0x427862
Capabilities:
Contain obfuscated stackstrings
Get hostname
Get session user name

Disassembly:
push 0x6c
mov eax, 0x43e0b0
call fcn.0043a094
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
cmp dword [0x448144], ebx
je 0x427e78
push 0x40
call fcn.004398b6
pop ecx
mov dword [esi + 0x18], eax
test eax, eax
jne 0x4278a8
mov dword [ebp - 0x18], 0xbbef
push 0x447c48
lea eax, [ebp - 0x18]
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x404fd4
push 0x20
pop edx
mov ecx, eax
call fcn.004121d8
push 0x40
call fcn.004398b6
pop ecx
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x4278d7
mov dword [ebp - 0x1c], 0xbbef
push 0x447c48
lea eax, [ebp - 0x1c]
jmp 0x4278a2
push 0x404fec
push 0x20
pop edx
mov ecx, eax
call fcn.004121d8
push 0x40
call fcn.004398b6
pop ecx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x427906
mov dword [ebp - 0x20], 0xbbef
push 0x447c48
lea eax, [ebp - 0x20]
jmp 0x4278a2
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_SetThreadUILanguage]
movzx eax, ax
push eax
push 0x405000
push 0x20
push dword [esi + 0x40]
call fcn.004276b4
push 0x20
call fcn.004398b6
add esp, 0x14
mov dword [esi + 0xac], eax
test eax, eax
jne 0x427948
mov dword [ebp - 0x24], 0xbbef
push 0x447c48
lea eax, [ebp - 0x24]
jmp 0x4278a2
mov dword [ebp - 0x28], 0x10
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
mov edi, 0x402248
test eax, eax
je 0x427971
mov eax, dword [esi + 0xac]
xor ecx, ecx
mov word [eax + 0x1e], cx
jmp 0x427980
push edi
push 0xf
pop edx
mov ecx, dword [esi + 0xac]
call fcn.004121d8
mov ecx, dword [esi + 0xac]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x427989
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004398b6
pop ecx
mov ebx, eax
mov dword [esi + 0x20], ebx
test ebx, ebx
jne 0x4279cd
mov dword [ebp - 0x2c], 0xbbef
push 0x447c48
lea eax, [ebp - 0x2c]
jmp 0x4278a2
mov ecx, dword [esi + 0xac]
mov edx, ecx
lea eax, [edx + 2]
mov dword [ebp - 0x34], eax
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x30]
jne 0x4279db
sub edx, dword [ebp - 0x34]
sar edx, 1
push ecx
inc edx
mov ecx, ebx
call fcn.004121d8
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 2
pop eax
push eax
call dword [sym.imp.SspiCli.dll_GetUserNameExW]
test al, al
jne 0x427ae1
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x427ab0
mov eax, dword [ebp - 0x14]
inc eax
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004398b6
pop ecx
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x427a59
mov dword [ebp - 0x38], 0xbbef
push 0x447c48
lea eax, [ebp - 0x38]
jmp 0x4278a2
lea ecx, [ebp - 0x14]
push ecx
push eax
push 2
pop eax
push eax
call dword [sym.imp.SspiCli.dll_GetUserNameExW]
test al, al
jne 0x427ae1
mov edx, dword [ebp - 0x14]
cmp edx, 4
jb 0x427a7e
push edi
inc edx
mov ecx, dword [esi + 0xa8]
jmp 0x427adc
push dword [esi + 0xa8]
call sub.msvcrt.dll_free
push 0xa
call fcn.004398b6
pop ecx
pop ecx
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x427ad6
mov dword [ebp - 0x3c], 0xbbef
push 0x447c48
lea eax, [ebp - 0x3c]
jmp 0x4278a2
push 0xa
call fcn.004398b6
pop ecx
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x427ad6
mov dword [ebp - 0x40], 0xbbef
push 0x447c48
lea eax, [ebp - 0x40]
jmp 0x4278a2
push edi
push 5
mov ecx, eax
pop edx
call fcn.004121d8
push dword [esi + 0x20]
mov ecx, esi
call fcn.0042836c
test eax, eax
jne 0x427b03
mov dword [ebp - 0x44], 0xbbef
push 0x447c48
lea eax, [ebp - 0x44]
jmp 0x4278a2
mov dword [ebp - 0x34], 1
push 0x40500c
lea ecx, [ebp - 0x30]
call fcn.00411394
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
push 2
pop ecx
mov byte [ebp - 4], cl
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0042902e
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00411304
push 2
pop eax
mov dword [ebp - 0x30], eax
push 0x405020
lea ecx, [ebp - 0x34]
call fcn.00411394
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0042902e
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call fcn.00411304
mov dword [ebp - 0x48], 3
push 0x405034
lea ecx, [ebp - 0x34]
call fcn.00411394
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0042902e
mov byte [ebp - 4], 9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call fcn.00411304
mov dword [ebp - 0x4c], 4
push 0x40504c
lea ecx, [ebp - 0x48]
call fcn.00411394
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.0042902e
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
call fcn.00411304
mov dword [ebp - 0x50], ebx
push 0x405060
lea ecx, [ebp - 0x4c]
call fcn.00411394
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0xe
lea edi, [esi + 0xc]
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
call fcn.00411304
mov dword [ebp - 0x54], 1
push 0x405070
lea ecx, [ebp - 0x50]
call fcn.00411394
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
call fcn.00411304
push 2
pop eax
mov dword [ebp - 0x58], eax
push 0x40507c
lea ecx, [ebp - 0x54]
call fcn.00411394
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00411304
mov dword [ebp - 0x5c], 3
push 0x401964
lea ecx, [ebp - 0x58]
call fcn.00411394
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
call fcn.00411304
mov dword [ebp - 0x60], 4
push 0x40508c
lea ecx, [ebp - 0x5c]
call fcn.00411394
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call fcn.00411304
mov dword [ebp - 0x68], 5
push 0x405094
lea ecx, [ebp - 0x60]
call fcn.00411394
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042913d
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x74]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x60]
call fcn.00411304
mov dword [ebp - 0x70], 6
push 0x4050b0
lea ecx, [ebp - 0x68]
call fcn.00411394
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x70]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.0042913d
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, edi
call fcn.0042902e
mov byte [ebp - 4], 0x21
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x64]
call fcn.00411304
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x68]
call fcn.00411304
mov dword [0x448144], ebx
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x64], ebx
call fcn.00439ff9
ret