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

Disassembly:
mov eax, 0x103f9e7
call fcn.0103cb58
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 [0x104a0f0], ebx
je 0x1029434
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 0x1028e72
mov dword [ebp - 0x88], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x88]
jmp 0x1029017
push 0x1005368
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 0x1028ea9
mov dword [ebp - 0x4c], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x4c]
jmp 0x1029017
push 0x1005380
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 0x1028ee0
mov dword [ebp - 0x8c], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x8c]
jmp 0x1029017
call fcn.010337ff
movzx eax, ax
push eax
push 0x1005394
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 0x1028f25
mov dword [ebp - 0x54], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x54]
jmp 0x1029017
mov dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1028f47
mov eax, dword [esi + 0xb4]
mov word [eax + 0x1e], bx
jmp 0x1028f54
push 0x100263c
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 0x1028f8c
mov dword [ebp - 0x5c], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x5c]
jmp 0x1029017
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 0x1028ffa
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 0x1028fdd
mov dword [ebp - 0x84], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x84]
jmp 0x1029017
lea ecx, [ebp - 0x14]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1028ffa
push 0x100263c
push dword [esi + 0xb0]
call edi
push dword [esi + 0x28]
mov ecx, esi
call fcn.01028023
test eax, eax
jne 0x102901d
mov dword [ebp - 0x64], 0xbbef
push 0x10421cc
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [ebp - 0x7c], 1
push 0x1005410
lea ecx, [ebp - 0x2c]
call fcn.01007b57
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.010287e6
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10c]
push eax
mov ecx, esi
call fcn.01028d4f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x104]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x1029079
call fcn.01008084
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x6c], 2
push 0x1005424
lea ecx, [ebp - 0x3c]
call fcn.01007b57
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.010287e6
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x154]
push eax
mov ecx, esi
call fcn.01028d4f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x10290d5
call fcn.01008084
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], 3
push 0x1005438
lea ecx, [ebp - 0x24]
call fcn.01007b57
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.010287e6
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x124]
push eax
mov ecx, esi
call fcn.01028d4f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd8]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x1029131
call fcn.01008084
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x50], 4
push 0x1005450
lea ecx, [ebp - 0x34]
call fcn.01007b57
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.010287e6
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x144]
push eax
mov ecx, esi
call fcn.01028d4f
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x102918d
call fcn.01008084
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x58], ebx
push 0x1005464
lea ecx, [ebp - 0x18]
call fcn.01007b57
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.010287e6
mov byte [ebp - 4], 0xa
lea edi, [esi + 0x10]
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x10291e8
call fcn.01008084
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x60], 1
push 0x1005474
lea ecx, [ebp - 0x1c]
call fcn.01007b57
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.010287e6
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x114]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc8]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x1029244
call fcn.01008084
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x68], 2
push 0x1005480
lea ecx, [ebp - 0x20]
call fcn.01007b57
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.010287e6
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x11c]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd0]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x10292a0
call fcn.01008084
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x70], 3
push 0x1002bdc
lea ecx, [ebp - 0x28]
call fcn.01007b57
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.010287e6
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x10292fc
call fcn.01008084
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x78], 4
push 0x1005490
lea ecx, [ebp - 0x30]
call fcn.01007b57
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x78]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.010287e6
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x13c]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa4]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x1029358
call fcn.01008084
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x80], 5
push 0x1005498
lea ecx, [ebp - 0x38]
call fcn.01007b57
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.010287e6
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x14c]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xb0]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x10293b4
call fcn.01008084
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], 6
push 0x10054b4
lea ecx, [ebp - 0x40]
call fcn.01007b57
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.010287e6
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.01028d4f
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xbc]
call fcn.01027ffb
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x1029410
call fcn.01008084
mov dword [ebp - 0x40], ebx
mov dword [0x104a0f0], ebx
jmp 0x1029434
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