Function at 0x1000dda2
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x1002d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
fldz
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x258], eax
xor ecx, ecx
mov dword [ebp - 0x254], edx
mov dword [eax], ecx
lea edi, [ebp - 0x234]
mov esi, ecx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ecx
xor eax, eax
mov dword [ebp - 0x238], ecx
push 9
fst dword [ebp - 0x24c]
pop ecx
fstp dword [edx]
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x1000de8e
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x104
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1000de42
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1000e0f0
movzx edi, di
or edi, 0x80070000
jmp 0x1000e0ee
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
xor edi, edi
pop ecx
test eax, eax
je 0x1000de90
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1000de5d
sub ecx, edx
sar ecx, 1
je 0x1000de90
xor eax, eax
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], eax
lea esi, [ebp - 0x268]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x25c], eax
xor edi, edi
mov eax, 0x100062bc
mov dword [ebp - 0x21c], 0x1000641c
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x234]
push eax
push 3
push esi
push 0x14
push edi
push 0x1000660c
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstanceEx]
mov edi, eax
test edi, edi
js 0x1000e140
cmp dword [ebp - 0x22c], 0
jne 0x1000e13b
lea eax, [ebp - 0x23c]
push eax
push 0x10005b3c
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoGetObjectContext]
test eax, eax
js 0x1000dfec
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x10030308]
call esi
mov edi, eax
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10030308]
call esi
xor ecx, ecx
mov dword [ebp - 0x23c], ecx
test edi, edi
je 0x1000dfec
lea eax, [ebp - 0x240]
push eax
push 0x10006068
push 3
push ecx
push 0x10006058
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x1000e140
mov ecx, dword [ebp - 0x240]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x244]
push eax
push ebx
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov edi, eax
test edi, edi
js 0x1000e140
push ecx
push ecx
push dword [ebp - 0x244]
lea ecx, [ebp - 0x234]
sub esp, 0xc
push dword [ebp - 0x248]
call fcn.100253a6
mov edi, eax
test edi, edi
js 0x1000e140
mov ecx, dword [ebp - 0x230]
xor ebx, ebx
fld dword [0x10009374]
mov eax, dword [ecx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x24c]
push eax
push ebx
push ecx
push ecx
fstp dword [esp + 4]
fld dword [0x1000936c]
fstp dword [esp]
push ecx
mov ecx, esi
call dword [0x10030308]
call esi
mov edi, eax
test edi, edi
js 0x1000e140
jmp 0x1000e019
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x244]
push eax
push ecx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
call fcn.100253ce
mov edi, eax
test edi, edi
js 0x1000e140
xor ebx, ebx
mov edi, dword [ebp - 0x220]
test edi, edi
js 0x1000e140
push 0x40
push 0xffffffffffffffff
push dword [ebp - 0x244]
push 6
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x248]
push dword [ebp - 0x224]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoSetProxyBlanket]
fld dword [ebp - 0x24c]
mov edi, eax
mov eax, dword [ebp - 0x254]
fstp dword [eax]
test edi, edi
js 0x1000e140
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
xor ebx, ebx
mov ecx, dword [ebp - 0x230]
test ecx, ecx
je 0x1000e08e
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x230], ebx
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x1000e0ae
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x218], ebx
mov ecx, dword [ebp - 0x23c]
test ecx, ecx
je 0x1000e0ce
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x23c], ebx
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x1000e0ee
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov dword [ebp - 0x240], ebx
test edi, edi
js 0x1000e128
mov ebx, dword [ebp - 0x238]
lea eax, [ebp - 0x238]
push eax
push eax
push dword [ebp - 0x258]
mov esi, dword [ebx]
push eax
push eax
push eax
mov ecx, dword [esi + 0x20]
push ebx
call dword [0x10030308]
call dword [esi + 0x20]
mov ecx, dword [ebx]
push ebx
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x10030308]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027c70
leave
ret 4
mov edi, 0x8011042c
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x1000e06c
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10030308]
call esi
xor ebx, ebx
mov dword [ebp - 0x224], ebx
jmp 0x1000e06e