Function at 0x10b0900
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.0101c4b0
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.01087c30
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 + 0x3a4]
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x278]
push eax
call ecx
test eax, eax
jne 0x10b0b55
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx]
mov eax, dword [eax + 0x3a8]
push ecx
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10b0b45
mov ecx, dword [esi]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [edx + 0x3ac]
push 0
push eax
lea eax, [ebp - 4]
push eax
call ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x10b0b45
mov edx, dword [esi]
mov ecx, dword [edx]
mov edx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b0]
push edx
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call ecx
test eax, eax
je 0x10b09f5
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 + 0x3bc]
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 0x10b0b1a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push ecx
push edx
push esi
call fcn.0105d190
mov ebx, eax
test ebx, ebx
je 0x10b0b1a
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 0x10b0b0c
mov dword [edi], ebx
call fcn.0101e3c0
cmp eax, 0x32
jbe 0x10b0a6e
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 + 0x3b4]
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 0x10b0b1a
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], ecx
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x14], edx
cmp dword [ebp - 0xc], eax
je 0x10b0ab0
inc dword [esi + 0x2de40]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
push 0xc
push eax
push ecx
push esi
call fcn.0105d240
mov dword [edi + 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
push 5
push edx
push eax
push esi
call fcn.0105d240
mov dword [edi + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push 8
push ecx
push edx
push esi
call fcn.0105d240
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x2de3c]
test eax, eax
je 0x10b0afe
mov dword [eax + 0x1c], edi
mov dword [esi + 0x2de3c], edi
jmp 0x10b0b1a
mov dword [esi + 0x2de38], edi
mov dword [esi + 0x2de3c], edi
jmp 0x10b0b1a
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 + 0x3ac]
lea edx, [ebp - 0x20]
push edx
call eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10b09d3
mov ebx, dword [ebp - 0x18]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x3b8]
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