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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x10d0620]
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 0x1067943
mov esi, 0x104
mov dword [ebp - 0x620], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x10678bf
call fcn.01091f43
mov esi, eax
push esi
push 0x101328c
call fcn.0108bdc7
push esi
push 0x4fe013a
jmp 0x1067b82
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 0x10678fb
call fcn.01091f43
mov esi, eax
push esi
push 0x101328c
call fcn.0108bdc7
push esi
push 0x508013a
jmp 0x1067b82
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 0x1067a19
call fcn.01091f43
mov esi, eax
push esi
push 0x1012f30
call fcn.0108bdc7
push esi
push 0x53f013a
jmp 0x1067b82
push 2
mov dword [ebp - 0x620], 0x104
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1067975
call fcn.01091f43
mov esi, eax
push esi
push 0x10130b0
call fcn.0108bdc7
push esi
push 0x515013a
jmp 0x1067b82
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x1067992
lea eax, [ebp - 0x20c]
jmp 0x1067994
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 0x10679ef
call fcn.01091f43
mov esi, eax
push esi
push 0x1013270
call fcn.0108bdc7
push esi
push 0x52e013a
lea eax, [ebp - 0x20c]
push eax
call fcn.0108c595
jmp 0x1067b87
test esi, esi
je 0x1067907
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.01091af5
mov esi, eax
test esi, esi
je 0x1067907
push esi
push 0x535013a
jmp 0x1067b82
push 0x486
push 0
push 0
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_73]
add esp, 0x10
test eax, eax
je 0x1067a56
lea ecx, [ebp - 0x628]
push ecx
push eax
push esi
call fcn.010a78ae
mov esi, eax
push esi
push 0x1012f18
call fcn.0108bdc7
push esi
push 0x547013a
jmp 0x1067b82
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x61c]
je 0x1067a82
push dword [ebp - 0x634]
push 0x1013234
push 0x1013220
push 0x208
push eax
call fcn.01032ea3
add esp, 0x14
jmp 0x1067a9a
push 0x10131f4
push 0x10131e8
push 0x208
push eax
call fcn.01032ea3
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 0x1067ae8
lea ecx, [ebp - 0x628]
push ecx
push eax
push esi
call fcn.010a78ae
mov esi, eax
push esi
push 0x1012ec0
call fcn.0108bdc7
push esi
push 0x566013a
jmp 0x1067b82
push dword [ebp - 0x624]
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_36]
pop ecx
pop ecx
test eax, eax
jne 0x1067b27
push dword [edi]
push 0x888
call fcn.0108bc14
push eax
call fcn.0109c1a8
push 0x1004310
call fcn.0109c1a8
add esp, 0xc
mov esi, 0x80092004
push esi
push 0x56e013a
jmp 0x1067b82
push dword [ebp - 0x624]
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_26]
pop ecx
pop ecx
test eax, eax
jne 0x1067b54
call fcn.01091f43
mov esi, eax
push esi
push 0x10131c4
call fcn.0108bdc7
push esi
push 0x578013a
jmp 0x1067b82
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 0x1067b6f
xor esi, esi
jmp 0x1067b87
push ebx
push eax
call fcn.01066ac8
mov esi, eax
test esi, esi
je 0x1067b87
push esi
push 0x58d013a
call fcn.0108c55a
xor edi, edi
cmp dword [ebp - 0x628], edi
je 0x1067baf
push dword [ebp - 0x628]
push 0x1001d38
call fcn.0109c1a8
pop ecx
pop ecx
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x624], edi
je 0x1067bc4
push dword [ebp - 0x624]
call dword [sym.imp.WLDAP32.dll_Ordinal_41]
pop ecx
cmp dword [ebp - 0x62c], edi
je 0x1067bd9
push dword [ebp - 0x62c]
call dword [sym.imp.WLDAP32.dll_Ordinal_224]
pop ecx
cmp dword [ebp - 0x630], edi
je 0x1067bee
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.01077dc7
leave
ret 0x10