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

Disassembly:
push 0x98
mov eax, 0x1041740
call fcn.0103d8b2
mov esi, ecx
mov dword [ebp - 0x9c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x104c0f4], ebx
je 0x102acb1
push 0x40
call fcn.0103d496
pop ecx
mov dword [esi + 0x18], eax
cmp eax, ebx
jne 0x102a6d0
mov dword [ebp - 0xa0], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0xa0]
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x1004fe8
push 0x20
pop edi
push edi
push eax
call fcn.01011d82
push 0x40
call fcn.0103d496
pop ecx
mov dword [esi + 0x1c], eax
cmp eax, ebx
jne 0x102a705
mov dword [ebp - 0x8c], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0x8c]
jmp 0x102a6ca
push 0x1005000
push edi
push eax
call fcn.01011d82
push 0x40
call fcn.0103d496
pop ecx
mov dword [esi + 0x40], eax
cmp eax, ebx
jne 0x102a737
mov dword [ebp - 0x94], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0x94]
jmp 0x102a6ca
call fcn.01035af7
movzx eax, ax
push eax
push 0x1005014
push edi
push dword [esi + 0x40]
call fcn.01022a0f
push edi
call fcn.0103d496
add esp, 0x14
mov dword [esi + 0xac], eax
cmp eax, ebx
jne 0x102a775
mov dword [ebp - 0x80], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0x80]
jmp 0x102a6ca
mov dword [ebp - 0x60], 0x10
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x102a799
mov eax, dword [esi + 0xac]
xor ecx, ecx
mov word [eax + 0x1e], cx
jmp 0x102a7ab
push 0x10026a4
push 0xf
push dword [esi + 0xac]
call fcn.01011d82
push dword [esi + 0xac]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
inc eax
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0103d496
pop ecx
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x102a7ea
mov dword [ebp - 0x54], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0x54]
jmp 0x102a6ca
mov eax, dword [esi + 0xac]
push eax
push eax
call edi
inc eax
push eax
push dword [esi + 0x20]
call fcn.01011d82
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x102a8e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x102a8b4
mov eax, dword [ebp - 0x24]
inc eax
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0103d496
pop ecx
mov dword [esi + 0xa8], eax
cmp eax, ebx
jne 0x102a85d
mov dword [ebp - 0x68], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0x68]
jmp 0x102a6ca
lea ecx, [ebp - 0x24]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x102a8e7
mov eax, dword [ebp - 0x24]
cmp eax, 4
jb 0x102a884
push 0x10026a4
inc eax
push eax
push dword [esi + 0xa8]
jmp 0x102a8e2
push dword [esi + 0xa8]
call fcn.0103d416
push 0xa
call fcn.0103d496
pop ecx
pop ecx
mov dword [esi + 0xa8], eax
cmp eax, ebx
jne 0x102a8da
mov dword [ebp - 0x88], 0xbbef
lea eax, [ebp - 0x88]
jmp 0x102a8d0
push 0xa
call fcn.0103d496
pop ecx
mov dword [esi + 0xa8], eax
cmp eax, ebx
jne 0x102a8da
mov dword [ebp - 0x70], 0xbbef
lea eax, [ebp - 0x70]
push 0x1044b0c
jmp 0x102a6ca
push 0x10026a4
push 5
push eax
call fcn.01011d82
push dword [esi + 0x20]
mov ecx, esi
call fcn.0102a384
test eax, eax
jne 0x102a90f
mov dword [ebp - 0x98], 0xbbef
push 0x1044b0c
lea eax, [ebp - 0x98]
jmp 0x102a6ca
mov dword [ebp - 0x78], 1
push 0x100507c
lea ecx, [ebp - 0x44]
call fcn.01007b81
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0102a554
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
je 0x102a962
call fcn.0100830c
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x90], 2
push 0x1005090
lea ecx, [ebp - 0x48]
call fcn.01007b81
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0102a554
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x48]
cmp ecx, ebx
je 0x102a9bb
call fcn.0100830c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], 3
push 0x10050a4
lea ecx, [ebp - 0x50]
call fcn.01007b81
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0102a554
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x50]
cmp ecx, ebx
je 0x102aa0e
call fcn.0100830c
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], 4
push 0x10050bc
lea ecx, [ebp - 0x4c]
call fcn.01007b81
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0102a554
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x4c]
cmp ecx, ebx
je 0x102aa61
call fcn.0100830c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x64], ebx
push 0x10050d0
lea ecx, [ebp - 0x34]
call fcn.01007b81
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 0xa
lea edi, [esi + 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x102aab3
call fcn.0100830c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x6c], 1
push 0x10050e0
lea ecx, [ebp - 0x28]
call fcn.01007b81
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x102ab06
call fcn.0100830c
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x74], 2
push 0x10050ec
lea ecx, [ebp - 0x3c]
call fcn.01007b81
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x102ab59
call fcn.0100830c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x7c], 3
push 0x1002c44
lea ecx, [ebp - 0x2c]
call fcn.01007b81
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x7c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x102abac
call fcn.0100830c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x84], 4
push 0x10050fc
lea ecx, [ebp - 0x30]
call fcn.01007b81
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x102ac05
call fcn.0100830c
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], 5
push 0x1005104
lea ecx, [ebp - 0x38]
call fcn.01007b81
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.01029dc3
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x18]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x38]
cmp ecx, ebx
je 0x102ac58
call fcn.0100830c
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], 6
push 0x1005120
lea ecx, [ebp - 0x40]
call fcn.01007b81
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.01029dc3
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0102a554
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x20]
call fcn.01029809
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x102acab
call fcn.0100830c
mov dword [ebp - 0x40], ebx
mov dword [0x104c0f4], ebx
or dword [ebp - 4], 0xffffffff
jmp 0x102acd7
mov dword [esi + 0x64], ebx
call fcn.0103d966
ret