Function at 0x10e71c0
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x278
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
mov edi, dword [eax]
push 0x20000
call fcn.0102b240
lea ebx, [eax*4 + 8]
lea ecx, [ebx + edi]
push ecx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
push 0
push 1
push 0x20000
push edi
call fcn.010b96d0
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - 8], 0x102
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
mov eax, dword [esi]
mov ecx, 0x5c
mov edx, ecx
mov word [ebp - 0x276], dx
mov word [ebp - 0x278], cx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x3cc]
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x278]
push eax
call ecx
test eax, eax
jne 0x10e7425
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx]
mov eax, dword [eax + 0x3d0]
push ecx
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10e7415
mov ecx, dword [esi]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [edx + 0x3d4]
push 0
push eax
lea eax, [ebp - 4]
push eax
call ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x10e7415
mov edx, dword [esi]
mov ecx, dword [edx]
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3d8]
push edx
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call ecx
test eax, eax
je 0x10e72b5
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
push ecx
push 0
mov dword [ebp - 8], 0x4e
mov eax, dword [edx]
mov eax, dword [eax + 0x3e4]
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x70]
push ecx
push 0
push 9
push edx
call eax
test eax, eax
jne 0x10e73ea
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push ecx
push edx
push esi
call fcn.0107dab0
mov ebx, eax
test ebx, ebx
je 0x10e73ea
push 0x21
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
xor edx, edx
push ebx
cmp edi, edx
je 0x10e73dc
mov dword [edi], ebx
call fcn.0102d5e0
cmp eax, 0x32
jbe 0x10e732e
xor eax, eax
mov word [ebx + 0x64], ax
mov ecx, dword [esi]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
mov eax, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x3dc]
push ecx
push edx
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
call eax
test eax, eax
jne 0x10e73ea
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push 0xc
push edx
push eax
push esi
call fcn.0107db60
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push 5
push ecx
push edx
push esi
call fcn.0107db60
push 0x101b26c
push eax
mov dword [edi + 8], eax
call fcn.0102d810
test eax, eax
jne 0x10e73a6
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xc], 0
je 0x10e73a6
inc dword [esi + 0x2e670]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push 8
push ecx
push edx
push esi
call fcn.0107db60
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x2e66c]
test eax, eax
je 0x10e73ce
mov dword [eax + 0x1c], edi
mov dword [esi + 0x2e66c], edi
jmp 0x10e73ea
mov dword [esi + 0x2e668], edi
mov dword [esi + 0x2e66c], edi
jmp 0x10e73ea
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edx, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
push edx
push 0
push eax
mov eax, dword [ecx + 0x3d4]
lea edx, [ebp - 0x20]
push edx
call eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10e7293
mov ebx, dword [ebp - 0x18]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x3e0]
push eax
call ecx
mov edx, dword [esi]
mov eax, dword [edx]
add eax, ebx
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4