Function at 0x100a06a5
Capabilities:
Get hostname

Disassembly:
push 0x60
mov eax, 0x10193a02
call fcn.10188e66
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], edx
mov esi, dword [eax]
lea eax, [ebp - 0x58]
push eax
push edx
push 1
push 1
push 0x1001ddec
push ecx
mov ecx, esi
call dword [0x101d880c]
call esi
mov esi, eax
test esi, esi
js 0x100a09c6
and dword [ebp - 0x54], 0
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov esi, dword [eax + 0x88]
lea eax, [ebp - 0x54]
push eax
push edi
mov ecx, esi
call dword [0x101d880c]
call esi
mov esi, eax
test esi, esi
jns 0x100a073e
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x100a09ee
test byte [ecx + 0x44], 1
je 0x100a09ee
push esi
push dword [ecx + 0x3c]
mov edx, 0x10022d38
push dword [ecx + 0x38]
push 0xb
jmp 0x100a09e8
xor edi, edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
push 0x10
pop eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], eax
call fcn.10055253
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x100a07b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x100a0783
movzx esi, si
or esi, 0x80070000
mov eax, dword [0x101c33f0]
cmp eax, 0x101c33f0
je 0x100a09ee
test byte [eax + 0x44], 1
je 0x100a09ee
push esi
push dword [eax + 0x3c]
mov edx, 0x10022d38
push dword [eax + 0x38]
push 0xc
jmp 0x100a09e8
push 0x1001dae4
lea ecx, [ebp - 0x40]
call fcn.1005236c
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
sub eax, esi
sar eax, 1
je 0x100a0a04
push esi
call fcn.1005275a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10051aee
mov esi, 0x1001d750
push esi
call fcn.1005275a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10051aee
mov esi, dword [ebp - 0x44]
push esi
call fcn.1005275a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10051aee
mov dword [ebp - 0x4c], edi
push edi
push edi
sub esp, 0x10
mov byte [ebp - 4], 4
mov edi, esp
mov edx, dword [ebp - 0x54]
mov esi, 0x1001d01c
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x40]
push 0x1001d02c
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, 0x1001cfc4
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.1006be9a
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
xor edi, edi
lea ecx, [ebp - 0x28]
push edi
add eax, 0x168
push eax
call fcn.100643db
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
mov ecx, dword [ecx]
call fcn.100b30dc
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
jae 0x100a088e
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.100a0ca9
mov esi, eax
test esi, esi
jns 0x100a08db
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x100a08c6
test byte [ecx + 0x44], 1
je 0x100a08c6
push esi
push dword [ecx + 0x3c]
mov edx, 0x10022d38
push dword [ecx + 0x38]
push 0xd
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x48]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
jmp 0x100a09fe
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x101d880c]
call esi
mov esi, eax
test esi, esi
jns 0x100a091b
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x100a08c6
test byte [ecx + 0x44], 1
je 0x100a08c6
push esi
push dword [ecx + 0x3c]
mov edx, 0x10022d38
push dword [ecx + 0x38]
push 0xe
jmp 0x100a08c0
mov eax, dword [0x101c33f0]
mov esi, 0x101c33f0
cmp eax, esi
je 0x100a097e
test byte [eax + 0x44], 4
je 0x100a0954
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x100a093b
lea ecx, [ebp - 0x40]
push ecx
push dword [eax + 0x3c]
mov edx, 0x10022d38
push dword [eax + 0x38]
push 0xf
pop ecx
call fcn.1004a093
mov eax, dword [0x101c33f0]
cmp eax, esi
je 0x100a097e
test byte [eax + 0x44], 8
je 0x100a097e
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x100a096a
lea ecx, [ebp - 0x28]
push ecx
push dword [eax + 0x3c]
mov edx, 0x10022d38
push dword [eax + 0x38]
push 0x10
pop ecx
call fcn.1004a093
lea ecx, [ebp - 0x50]
call fcn.1004f656
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.10052803
push dword [ebp - 0x4c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.10052803
lea ecx, [ebp - 0x64]
call fcn.1004f7f5
push dword [ebp - 0x54]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x58]
call fcn.1004f656
call fcn.10188e03
ret 8
mov ecx, dword [0x101c33f0]
cmp ecx, 0x101c33f0
je 0x100a09ee
test byte [ecx + 0x44], 1
je 0x100a09ee
push esi
push dword [ecx + 0x3c]
mov edx, 0x10022d38
push dword [ecx + 0x38]
push 0xa
pop ecx
call fcn.1004a069
push esi
lea ecx, [ebp - 0x44]
call fcn.10044b9d
push 0x101c213c
mov eax, ecx
push eax
call sub.msvcrt.dll__CxxThrowException
call fcn.1006251b
int3