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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x10cd598]
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 0x10671a1
mov esi, 0x104
mov dword [ebp - 0x620], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x106711d
call fcn.0108edc3
mov esi, eax
push esi
push 0x101318c
call fcn.01088c53
push esi
push 0x4fe013a
jmp 0x10673e0
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 0x1067159
call fcn.0108edc3
mov esi, eax
push esi
push 0x101318c
call fcn.01088c53
push esi
push 0x508013a
jmp 0x10673e0
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 0x1067277
call fcn.0108edc3
mov esi, eax
push esi
push 0x1012e30
call fcn.01088c53
push esi
push 0x53f013a
jmp 0x10673e0
push 2
mov dword [ebp - 0x620], 0x104
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x10671d3
call fcn.0108edc3
mov esi, eax
push esi
push 0x1012fb0
call fcn.01088c53
push esi
push 0x515013a
jmp 0x10673e0
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x10671f0
lea eax, [ebp - 0x20c]
jmp 0x10671f2
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 0x106724d
call fcn.0108edc3
mov esi, eax
push esi
push 0x1013170
call fcn.01088c53
push esi
push 0x52e013a
lea eax, [ebp - 0x20c]
push eax
call fcn.01089421
jmp 0x10673e5
test esi, esi
je 0x1067165
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0108e981
mov esi, eax
test esi, esi
je 0x1067165
push esi
push 0x535013a
jmp 0x10673e0
push 0x486
push 0
push 0
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_73]
add esp, 0x10
test eax, eax
je 0x10672b4
lea ecx, [ebp - 0x628]
push ecx
push eax
push esi
call fcn.010a4719
mov esi, eax
push esi
push 0x1012e18
call fcn.01088c53
push esi
push 0x547013a
jmp 0x10673e0
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x61c]
je 0x10672e0
push dword [ebp - 0x634]
push 0x1013134
push 0x1013120
push 0x208
push eax
call fcn.01032700
add esp, 0x14
jmp 0x10672f8
push 0x10130f4
push 0x10130e8
push 0x208
push eax
call fcn.01032700
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 0x1067346
lea ecx, [ebp - 0x628]
push ecx
push eax
push esi
call fcn.010a4719
mov esi, eax
push esi
push 0x1012dc0
call fcn.01088c53
push esi
push 0x566013a
jmp 0x10673e0
push dword [ebp - 0x624]
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_36]
pop ecx
pop ecx
test eax, eax
jne 0x1067385
push dword [edi]
push 0x888
call fcn.01088aa0
push eax
call fcn.01099014
push 0x1004208
call fcn.01099014
add esp, 0xc
mov esi, 0x80092004
push esi
push 0x56e013a
jmp 0x10673e0
push dword [ebp - 0x624]
push esi
call dword [sym.imp.WLDAP32.dll_Ordinal_26]
pop ecx
pop ecx
test eax, eax
jne 0x10673b2
call fcn.0108edc3
mov esi, eax
push esi
push 0x10130c4
call fcn.01088c53
push esi
push 0x578013a
jmp 0x10673e0
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 0x10673cd
xor esi, esi
jmp 0x10673e5
push ebx
push eax
call fcn.01066326
mov esi, eax
test esi, esi
je 0x10673e5
push esi
push 0x58d013a
call fcn.010893e6
xor edi, edi
cmp dword [ebp - 0x628], edi
je 0x106740d
push dword [ebp - 0x628]
push 0x1001d04
call fcn.01099014
pop ecx
pop ecx
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x624], edi
je 0x1067422
push dword [ebp - 0x624]
call dword [sym.imp.WLDAP32.dll_Ordinal_41]
pop ecx
cmp dword [ebp - 0x62c], edi
je 0x1067437
push dword [ebp - 0x62c]
call dword [sym.imp.WLDAP32.dll_Ordinal_224]
pop ecx
cmp dword [ebp - 0x630], edi
je 0x106744c
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.01074bd5
leave
ret 0x10