Function at 0x10083757
Capabilities:
Get hostname

Disassembly:
push 0x64
mov eax, 0x1016d7ae
call fcn.101673d5
mov dword [ebp - 0x4c], edx
mov ebx, ecx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ecx
mov esi, dword [esi]
push eax
push ecx
push 1
push 1
push 0x10019394
push ebx
mov ecx, esi
call dword [0x101a77c4]
call esi
mov esi, eax
test esi, esi
jns 0x100837b8
mov ecx, dword [0x101973c0]
cmp ecx, 0x101973c0
je 0x10083ac2
test byte [ecx + 0x44], 1
jne 0x10083aae
jmp 0x10083ac2
and dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov eax, dword [edi]
push ecx
push edi
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x101a77c4]
call esi
mov esi, eax
test esi, esi
jns 0x1008380c
mov ecx, dword [0x101973c0]
cmp ecx, 0x101973c0
je 0x10083ac2
test byte [ecx + 0x44], 1
je 0x10083ac2
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c918
push dword [ecx + 0x38]
push 0xb
jmp 0x10083abc
xor esi, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
push 0x10
pop eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], eax
call fcn.10149ac2
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_GetComputerNameW]
test eax, eax
jne 0x1008387d
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10083850
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101973c0]
cmp eax, 0x101973c0
je 0x10083ac2
test byte [eax + 0x44], 1
je 0x10083ac2
push esi
push dword [eax + 0x3c]
mov edx, 0x1001c918
push dword [eax + 0x38]
push 0xc
jmp 0x10083abc
push 2
xor eax, eax
mov dword [ebp - 0x18], 7
push 0x10019304
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.10149ac2
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x6c]
sar eax, 1
je 0x10083ad8
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
push 0x10018f30
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
xor ebx, ebx
mov dword [ebp - 0x50], ebx
push ebx
push ebx
sub esp, 0x10
mov byte [ebp - 4], 4
mov edi, esp
mov edx, dword [ebp - 0x58]
mov esi, 0x10018bcc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
push 0x10018bdc
push eax
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
mov esi, 0x10018b74
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1005e2df
push dword [ebp - 0x50]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push ebx
add eax, 0x168
lea ecx, [ebp - 0x48]
push eax
call fcn.10149ac2
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
mov ecx, dword [ecx]
call fcn.10095eef
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x34], 8
mov edx, dword [ebp - 0x48]
jae 0x1008394a
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x38]
lea eax, [eax*2 + 2]
push eax
call fcn.10083d55
mov esi, eax
test esi, esi
jns 0x10083993
mov ecx, dword [0x101973c0]
cmp ecx, 0x101973c0
je 0x10083ac2
test byte [ecx + 0x44], 1
je 0x10083ac2
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c918
push dword [ecx + 0x38]
push 0xd
jmp 0x10083abc
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x54]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x101a77c4]
call esi
mov esi, eax
test esi, esi
jns 0x100839de
mov ecx, dword [0x101973c0]
cmp ecx, 0x101973c0
je 0x10083ac2
test byte [ecx + 0x44], 1
je 0x10083ac2
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c918
push dword [ecx + 0x38]
push 0xe
jmp 0x10083abc
mov eax, dword [0x101973c0]
mov esi, 0x101973c0
cmp eax, esi
je 0x10083a40
test byte [eax + 0x44], 4
mov edi, 0x1001c918
je 0x10083a19
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x10083a03
lea ecx, [ebp - 0x2c]
push ecx
push dword [eax + 0x3c]
mov edx, edi
push dword [eax + 0x38]
push 0xf
pop ecx
call fcn.10149ac2
mov eax, dword [0x101973c0]
cmp eax, esi
je 0x10083a40
test byte [eax + 0x44], 8
je 0x10083a40
cmp dword [ebp - 0x34], 8
mov ecx, dword [ebp - 0x48]
jae 0x10083a2f
lea ecx, [ebp - 0x48]
push ecx
push dword [eax + 0x3c]
mov edx, edi
push dword [eax + 0x38]
push 0x10
pop ecx
call fcn.10149ac2
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10083a5b
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x101a77c4]
call esi
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10149ac2
push dword [ebp - 0x50]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10149ac2
lea ecx, [ebp - 0x6c]
call fcn.10044371
push dword [ebp - 0x58]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10083aa6
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x101a77c4]
call esi
call fcn.10167384
ret 8
push esi
push dword [ecx + 0x3c]
mov edx, 0x1001c918
push dword [ecx + 0x38]
push 0xa
pop ecx
call fcn.10149ac2
push esi
lea ecx, [ebp - 0x4c]
call fcn.10149ac2
push 0x10196090
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
call fcn.100544eb
int3