Function at 0x10048da
Capabilities:
Get domain information
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x1020960]
xor edi, edi
mov dword [ebp - 0x224], 0x104
mov dword [ebp - 0x218], edi
call fcn.0100a9cd
lea eax, [ebp - 0x214]
push eax
push 1
call fcn.01010f03
cmp eax, edi
je 0x1004927
push eax
call fcn.0100295a
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov ebx, eax
lea eax, [ebp - 0x218]
push eax
push 1
push edi
call sub.dsrole.dll_DsRoleGetPrimaryDomainInformation
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push eax
push 0x10201f8
push 0x13
call fcn.01010adf
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x21c]
push eax
push 0x10201b0
push 9
add esi, 5
call fcn.01010adf
mov eax, dword [ebp - 0x214]
push dword [eax + 0xc]
push edi
push dword [0x10201fc]
push esi
call fcn.010108bb
push eax
push esi
push edi
push str.__.ws_Fws_r_n
call fcn.01010562
add esp, 0x14
cmp ebx, edi
je 0x10049d2
lea eax, [ebp - 0x210]
push eax
push edi
push dword [0x1020204]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020990]
call fcn.01010562
add esp, 0x14
mov eax, dword [ebp - 0x214]
push dword [eax + 0x10]
push edi
push dword [0x102020c]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020990]
call fcn.01010562
add esp, 0x14
call fcn.010108a7
push edi
push dword [0x102028c]
push esi
call fcn.010108bb
push eax
push esi
push edi
push str.__.ws_r_n
call fcn.01010562
mov eax, dword [ebp - 0x214]
add esp, 0x10
push 1
push dword [eax + 0x20]
call fcn.0100728c
call fcn.010046f3
mov ebx, eax
cmp ebx, edi
jne 0x1004a3b
mov eax, dword [0x10201f4]
push eax
push edi
push dword [0x1020214]
push esi
call fcn.010108bb
push eax
push esi
push edi
push str.__.ws__0.31ws_r_n
call fcn.01010562
add esp, 0x14
push ebx
call fcn.0100480f
call fcn.010108a7
mov eax, dword [ebp - 0x214]
push dword [eax + 0x14]
push edi
push dword [0x1020224]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020990]
call fcn.01010562
add esp, 0x14
cmp dword [ebp - 0x220], edi
jne 0x1004acb
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xc], edi
je 0x1004ac5
push dword [eax + 0xc]
push edi
push dword [0x1020234]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020990]
call fcn.01010562
mov eax, dword [ebp - 0x218]
add esp, 0x14
push eax
call sub.dsrole.dll_DsRoleFreeMemory
mov eax, dword [ebp - 0x214]
push dword [eax + 0x84]
push edi
push dword [0x102022c]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020990]
call fcn.01010562
add esp, 0x14
call fcn.010108a7
mov eax, dword [ebp - 0x214]
push dword [eax + 0x24]
push edi
push dword [0x102023c]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020998]
call fcn.01010562
mov eax, dword [ebp - 0x214]
add esp, 0x14
push dword [eax + 0x2c]
push edi
push dword [0x1020244]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x1020998]
call fcn.01010562
mov eax, dword [ebp - 0x214]
add esp, 0x14
push dword [eax + 0x28]
push edi
push dword [0x102024c]
push esi
call fcn.010108bb
push eax
push esi
push edi
push dword [0x102099c]
call fcn.01010562
add esp, 0x14
push dword [ebp - 0x214]
call sub.netutils.dll_NetApiBufferFree
call fcn.010108de
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002d45
leave
ret