Function at 0x10e5c00
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.0102ab20
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.010b8740
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 + 0x3c0]
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x278]
push eax
call ecx
test eax, eax
jne 0x10e5e65
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx]
mov eax, dword [eax + 0x3c4]
push ecx
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10e5e55
mov ecx, dword [esi]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [edx + 0x3c8]
push 0
push eax
lea eax, [ebp - 4]
push eax
call ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x10e5e55
mov edx, dword [esi]
mov ecx, dword [edx]
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3cc]
push edx
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call ecx
test eax, eax
je 0x10e5cf5
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 + 0x3d8]
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 0x10e5e2a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push ecx
push edx
push esi
call fcn.0107d0e0
mov ebx, eax
test ebx, ebx
je 0x10e5e2a
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 0x10e5e1c
mov dword [edi], ebx
call fcn.0102ce80
cmp eax, 0x32
jbe 0x10e5d6e
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 + 0x3d0]
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 0x10e5e2a
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.0107d190
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.0107d190
push 0x101afe4
push eax
mov dword [edi + 8], eax
call fcn.0102d0b0
test eax, eax
jne 0x10e5de6
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x14], eax
cmp dword [ebp - 0xc], 0
je 0x10e5de6
inc dword [esi + 0x2e670]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push 8
push ecx
push edx
push esi
call fcn.0107d190
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x2e66c]
test eax, eax
je 0x10e5e0e
mov dword [eax + 0x1c], edi
mov dword [esi + 0x2e66c], edi
jmp 0x10e5e2a
mov dword [esi + 0x2e668], edi
mov dword [esi + 0x2e66c], edi
jmp 0x10e5e2a
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 + 0x3c8]
lea edx, [ebp - 0x20]
push edx
call eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10e5cd3
mov ebx, dword [ebp - 0x18]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x3d4]
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