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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp + 0xc], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x624], eax
mov dword [ebx], eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20c]
push eax
je 0x1067892
mov esi, 0x104
mov dword [ebp - 0x620], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x106780e
call fcn.01091f1e
mov esi, eax
push esi
push 0x101329c
call fcn.0108bd70
push esi
push 0x4fe013a
jmp 0x1067ad1
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
mov dword [ebp - 0x620], esi
call sub.Secur32.dll_GetComputerObjectNameW
test al, al
jne 0x106784a
call fcn.01091f1e
mov esi, eax
push esi
push 0x101329c
call fcn.0108bd70
push esi
push 0x508013a
jmp 0x1067ad1
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x634], eax
push 0x185
push 0
call dword [sym.imp.WLDAP32.dll_Ordinal_145]
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x630], esi
test esi, esi
jne 0x1067968
call fcn.01091f1e
mov esi, eax
push esi
push 0x1012f40
call fcn.0108bd70
push esi
push 0x53f013a
jmp 0x1067ad1
push 2
mov dword [ebp - 0x620], 0x104
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x10678c4
call fcn.01091f1e
mov esi, eax
push esi
push 0x10130c0
call fcn.0108bd70
push esi
push 0x515013a
jmp 0x1067ad1
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x10678e1
lea eax, [ebp - 0x20c]
jmp 0x10678e3
inc eax
inc eax
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push 2
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x620], 0x104
call sub.Secur32.dll_TranslateNameW
test al, al
jne 0x106793e
call fcn.01091f1e
mov esi, eax
push esi
push 0x1013280
call fcn.0108bd70
push esi
push 0x52e013a
lea eax, [ebp - 0x20c]
push eax
call fcn.0108c53e
jmp 0x1067ad6
test esi, esi
je 0x1067856
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01091ad0
mov esi, eax
test esi, esi
je 0x1067856
push esi
push 0x535013a
jmp 0x1067ad1
push 0x486
push 0
push 0
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_73]
add esp, 0x10
test eax, eax
je 0x10679a5
lea ecx, [ebp - 0x628]
push ecx
push eax
push esi
call fcn.010a791c
mov esi, eax
push esi
push 0x1012f28
call fcn.0108bd70
push esi
push 0x547013a
jmp 0x1067ad1
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x61c]
je 0x10679d1
push dword [ebp - 0x634]
push 0x1013244
push 0x1013230
push 0x208
push eax
call fcn.01032d94
add esp, 0x14
jmp 0x10679e9
push 0x1013204
push 0x10131f8
push 0x208
push eax
call fcn.01032d94
add esp, 0x10
lea eax, [ebp - 0x624]
push eax
push 0
push edi
lea eax, [ebp - 0x61c]
push eax
push 2
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_208_1]
add esp, 0x1c
test eax, eax
je 0x1067a37
lea ecx, [ebp - 0x628]
push ecx
push eax
push esi
call fcn.010a791c
mov esi, eax
push esi
push 0x1012ed0
call fcn.0108bd70
push esi
push 0x566013a
jmp 0x1067ad1
push dword [ebp - 0x624]
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_36]
pop ecx
pop ecx
test eax, eax
jne 0x1067a76
push dword [edi]
push 0x888
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push 0x10042f8
call fcn.0109c1c3
add esp, 0xc
mov esi, 0x80092004
push esi
push 0x56e013a
jmp 0x1067ad1
push dword [ebp - 0x624]
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_26]
pop ecx
pop ecx
test eax, eax
jne 0x1067aa3
call fcn.01091f1e
mov esi, eax
push esi
push 0x10131d4
call fcn.0108bd70
push esi
push 0x578013a
jmp 0x1067ad1
push dword [edi]
push eax
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_140]
add esp, 0xc
mov dword [ebp - 0x62c], eax
test eax, eax
jne 0x1067abe
xor esi, esi
jmp 0x1067ad6
push ebx
push eax
call fcn.01066a17
mov esi, eax
test esi, esi
je 0x1067ad6
push esi
push 0x58d013a
call fcn.0108c503
xor edi, edi
cmp dword [ebp - 0x628], edi
je 0x1067afe
push dword [ebp - 0x628]
push 0x1001d34
call fcn.0109c1c3
pop ecx
pop ecx
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x624], edi
je 0x1067b13
push dword [ebp - 0x624]
call dword [sym.imp.WLDAP32.dll_Ordinal_41]
pop ecx
cmp dword [ebp - 0x62c], edi
je 0x1067b28
push dword [ebp - 0x62c]
call dword [sym.imp.WLDAP32.dll_Ordinal_224]
pop ecx
cmp dword [ebp - 0x630], edi
je 0x1067b3d
push dword [ebp - 0x630]
call dword [sym.imp.WLDAP32.dll_Ordinal_13]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01077d0b
leave
ret 0x10