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

Disassembly:
mov eax, 0x103f353
call fcn.0103c428
sub esp, 0x150
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x90], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x10490b4], ebx
je 0x1028eb4
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xb4], eax
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x10288f2
mov dword [ebp - 0x88], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x88]
jmp 0x1028a97
push 0x1004fb0
push eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
call edi
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xdc], eax
mov dword [esi + 0x24], eax
cmp eax, ebx
jne 0x1028929
mov dword [ebp - 0x4c], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x4c]
jmp 0x1028a97
push 0x1004fc8
push eax
call edi
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xa8], eax
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x1028960
mov dword [ebp - 0x8c], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x8c]
jmp 0x1028a97
call fcn.01033bd9
movzx eax, ax
push eax
push 0x1004fdc
push dword [esi + 0x48]
call dword [sym.imp.msvcrt.dll_swprintf]
push 0x20
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov dword [ebp - 0xe8], eax
mov dword [esi + 0xb4], eax
cmp eax, ebx
jne 0x10289a5
mov dword [ebp - 0x54], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x54]
jmp 0x1028a97
mov dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10289c7
mov eax, dword [esi + 0xb4]
mov word [eax + 0x1e], bx
jmp 0x10289d4
push 0x1002674
push dword [esi + 0xb4]
call edi
push dword [esi + 0xb4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x94], eax
mov dword [esi + 0x28], eax
cmp eax, ebx
jne 0x1028a0c
mov dword [ebp - 0x5c], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x5c]
jmp 0x1028a97
push dword [esi + 0xb4]
push eax
call edi
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1028a7a
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xf4], eax
mov dword [esi + 0xb0], eax
cmp eax, ebx
jne 0x1028a5d
mov dword [ebp - 0x84], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x84]
jmp 0x1028a97
lea ecx, [ebp - 0x14]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1028a7a
push 0x1002674
push dword [esi + 0xb0]
call edi
push dword [esi + 0x28]
mov ecx, esi
call fcn.01027aa3
test eax, eax
jne 0x1028a9d
mov dword [ebp - 0x64], 0xbbef
push 0x1041aec
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [ebp - 0x7c], 1
push 0x1005058
lea ecx, [ebp - 0x2c]
call fcn.01007727
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.0102817d
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10c]
push eax
mov ecx, esi
call fcn.010287cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x1028af9
call fcn.01007c31
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x6c], 2
push 0x100506c
lea ecx, [ebp - 0x3c]
call fcn.01007727
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.0102817d
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, esi
call fcn.010287cf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x1028b55
call fcn.01007c31
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], 3
push 0x1005080
lea ecx, [ebp - 0x24]
call fcn.01007727
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.0102817d
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, esi
call fcn.010287cf
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd8]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x1028bb1
call fcn.01007c31
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x50], 4
push 0x1005098
lea ecx, [ebp - 0x34]
call fcn.01007727
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.0102817d
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, esi
call fcn.010287cf
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x1028c0d
call fcn.01007c31
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x58], ebx
push 0x10050ac
lea ecx, [ebp - 0x18]
call fcn.01007727
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.0102817d
mov byte [ebp - 4], 0xa
lea edi, [esi + 0x10]
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x1028c68
call fcn.01007c31
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x60], 1
push 0x10050bc
lea ecx, [ebp - 0x1c]
call fcn.01007727
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.0102817d
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc8]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x1028cc4
call fcn.01007c31
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], 2
push 0x10050c8
lea ecx, [ebp - 0x20]
call fcn.01007727
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0102817d
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd0]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1028d20
call fcn.01007c31
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x70], 3
push 0x1002c14
lea ecx, [ebp - 0x28]
call fcn.01007727
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.0102817d
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x1028d7c
call fcn.01007c31
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x78], 4
push 0x10050d8
lea ecx, [ebp - 0x30]
call fcn.01007727
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x78]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.0102817d
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa4]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x1028dd8
call fcn.01007c31
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x80], 5
push 0x10050e0
lea ecx, [ebp - 0x38]
call fcn.01007727
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.0102817d
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x14c]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb0]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x1028e34
call fcn.01007c31
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], 6
push 0x10050fc
lea ecx, [ebp - 0x40]
call fcn.01007727
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0102817d
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.010287cf
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xbc]
call fcn.01027a7b
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x1028e90
call fcn.01007c31
mov dword [ebp - 0x40], ebx
mov dword [0x10490b4], ebx
jmp 0x1028eb4
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x6c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret