Function at 0x10b2670
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x113b081
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1ac], 0x100c630
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x194], ebx
mov dword [ebp - 0x19c], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 5
mov byte [ebp - 0x149], bl
call edx
add eax, 0x10
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 6
mov word [ebp - 0x34], bx
mov dword [ebp - 0x1d4], 0x10
call edx
add eax, 0x10
mov dword [ebp - 0x174], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 7
call edx
add eax, 0x10
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x178], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 9
call edx
add eax, 0x10
mov dword [ebp - 0x16c], eax
mov byte [ebp - 0x14a], 1
mov dword [ebp - 0x170], ebx
push ebx
push 0x1014a28
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1a0], ebx
push 0x10149b8
lea ecx, [ebp - 0x140]
push 2
push ecx
call fcn.01075110
add esp, 0x18
lea edx, [ebp - 0x17c]
push edx
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x19c]
push ecx
push ebx
push ebx
push 0x40
mov byte [ebp - 4], 0xc
call fcn.010aa8f0
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2e1b
push 0x1161858
mov dword [ebp - 0x154], 0x1161858
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x150], 1
lea edx, [ebp - 0x149]
push edx
mov byte [ebp - 4], 0xd
call fcn.010b5ac0
cmp eax, ebx
mov dword [ebp - 0x144], eax
jge 0x10b285e
push 0x1161858
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10b2e1b
cmp byte [ebp - 0x149], bl
je 0x10b28d0
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x10b28c1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10b289f
call esi
push 0x1161858
mov dword [ebp - 0x144], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10b2e1b
call esi
and eax, 0xffff
or eax, 0x80070000
push 0x1161858
mov dword [ebp - 0x144], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10b2e1b
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x188]
call fcn.0109db20
push ebx
lea ecx, [ebp - 0x198]
call fcn.01096870
cmp eax, ebx
mov dword [ebp - 0x144], eax
jge 0x10b28f6
push 0x1161858
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10b2e1b
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x198]
call fcn.01095900
cmp eax, ebx
mov dword [ebp - 0x144], eax
jge 0x10b2922
push 0x1161858
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10b2e1b
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x198]
call fcn.010a12f0
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2e10
mov ecx, dword [0x1162cd4]
lea edx, [ebp - 0x158]
push edx
push esi
lea eax, [ebp - 0x190]
add ecx, 0xc0
push eax
call fcn.010d0ec0
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2e10
push 0xb0
call fcn.01084a6d
mov esi, eax
add esp, 4
mov dword [ebp - 0x15c], esi
cmp esi, ebx
mov byte [ebp - 4], 0xe
je 0x10b29cf
lea ecx, [ebp - 0x190]
push ecx
push ecx
lea edx, [ebp - 0x16c]
mov ecx, esp
mov dword [ebp - 0x148], esp
push edx
call fcn.010827d0
push ecx
mov ecx, dword [ebp - 0x158]
mov eax, esp
mov dword [ebp - 0x164], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.0109b7e0
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.010a1480
jmp 0x10b29d1
xor eax, eax
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xd
call fcn.01098d10
mov esi, dword [ebp - 0x178]
cmp esi, ebx
jne 0x10b29fa
mov dword [ebp - 0x144], 0x8007000e
jmp 0x10b2e10
lea ecx, [ebp - 0x148]
call fcn.01099650
push ecx
lea edx, [ebp - 0x178]
mov ecx, esp
mov dword [ebp - 0x164], esp
push edx
mov byte [ebp - 4], 0x10
call fcn.01098ce0
lea ecx, [ebp - 0x1d0]
call fcn.010997a0
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x11
call fcn.010af090
cmp eax, ebx
mov dword [ebp - 0x144], eax
jge 0x10b2a65
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1d0]
call fcn.010aa040
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.0109c040
jmp 0x10b2e10
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x16c]
push edx
call fcn.010bad80
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
cmp dword [ebp - 0x1a0], ebx
je 0x10b2a9d
mov dword [ebp - 0x144], 0x800700b7
jmp 0x10b2a42
push 2
mov ecx, esi
call fcn.010b81a0
test eax, eax
je 0x10b2ab0
mov byte [ebp - 0x14a], bl
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x174]
push eax
push 0x1162aa0
call fcn.010d4b20
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
lea ecx, [ebp - 0x174]
push ecx
mov ecx, esi
call fcn.0109e150
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
mov ecx, esi
call fcn.010b92b0
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
push ebx
lea edx, [ebp - 0x148]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x164], esp
push 0x100f6f8
call fcn.0107f6b0
mov ecx, dword [ebp - 0x158]
add ecx, 0x30
call fcn.011183a0
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
push 0x100f6f8
lea ecx, [ebp - 0x15c]
call fcn.0107f6b0
lea ecx, [ebp - 0x148]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.010b6ef0
cmp eax, ebx
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x144], eax
setl byte [ebp - 0x15d]
mov byte [ebp - 4], 0x11
call fcn.0111cdb0
cmp byte [ebp - 0x15d], bl
jne 0x10b2a42
mov ecx, dword [ebp - 0x158]
lea edx, [ebp - 0x184]
push edx
push 0x1014380
call fcn.010db140
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
mov eax, dword [ebp - 0x184]
lea ecx, [ebp - 0x170]
push ecx
mov ecx, esi
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x184], ebx
call fcn.010b7220
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
cmp byte [ebp - 0x14a], bl
je 0x10b2d21
push 0x68
call fcn.01084a6d
add esp, 4
mov dword [ebp - 0x164], eax
cmp eax, ebx
mov byte [ebp - 4], 0x13
je 0x10b2c0c
mov ecx, eax
call fcn.010a0bb0
mov esi, eax
jmp 0x10b2c0e
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1a4], esi
jne 0x10b2c2b
mov dword [ebp - 0x144], 0x8007000e
jmp 0x10b2a42
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x158]
push ebx
lea edx, [ebp - 0x188]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0109df00
cmp eax, ebx
mov dword [ebp - 0x144], eax
jl 0x10b2a42
lea ecx, [ebp - 0x204]
call fcn.01097c30
mov edx, dword [ebp - 0x158]
add edx, 8
mov dword [ebp - 0x168], edx
mov byte [ebp - 0x164], bl
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x15
call fcn.01073310
cmp eax, ebx
mov dword [ebp - 0x144], eax
jge 0x10b2cae
lea ecx, [ebp - 0x168]
call fcn.01127fe0
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x11
call fcn.010eca80
jmp 0x10b2a42
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
mov ecx, esi
call edx
cmp eax, ebx
mov dword [ebp - 0x144], eax
jge 0x10b2ce0
lea ecx, [ebp - 0x168]
call fcn.01127fe0
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x11
call fcn.010eca80
jmp 0x10b2a42
push esi
lea ecx, [ebp - 0x204]
call fcn.010ef220
cmp eax, ebx
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x168]
jl 0x10b2c95
mov esi, dword [esi + 0x50]
mov dword [ebp - 0x144], esi
call fcn.01127fe0
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x11
call fcn.010eca80
cmp esi, ebx
jl 0x10b2a42
lea ecx, [ebp - 0x1d0]
call fcn.01096a60
cmp eax, ebx
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1d0]
jl 0x10b2a4c
call fcn.010aa040
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.0109c040
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x198]
call fcn.010959e0
cmp eax, ebx
jl 0x10b2da2
mov edx, dword [ebp - 0x180]
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, dword [0x1162cd4]
push edx
add ecx, 0x1c8
call fcn.010d1570
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x190]
push eax
push ecx
push 1
call fcn.010b2180
mov dword [ebp - 0x148], ebx
push 0x18
mov byte [ebp - 4], 0x16
call fcn.01084a6d
add esp, 4
mov dword [ebp - 0x164], eax
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x10b2dd6
mov edx, dword [ebp - 0x174]
push edx
push 1
mov ecx, eax
call fcn.01097c60
jmp 0x10b2dd8
xor eax, eax
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x16
call fcn.01098d10
cmp dword [ebp - 0x148], ebx
je 0x10b2e01
lea eax, [ebp - 0x148]
push eax
mov ecx, 0x1162fc8
call fcn.010e73a0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.010979a0
lea ecx, [ebp - 0x154]
call fcn.01127fe0
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0xb
call fcn.01075230
mov ecx, dword [ebp - 0x170]
cmp ecx, ebx
mov byte [ebp - 4], 0xa
mov esi, ecx
je 0x10b2e54
call fcn.0109b9e0
push esi
call fcn.010838da
add esp, 4
mov eax, dword [ebp - 0x16c]
add eax, 0xfffffff0
mov dword [ebp - 0x170], ebx
mov byte [ebp - 4], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10b2e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x178]
cmp esi, ebx
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [ebp - 4], 8
je 0x10b2ea8
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x10b2ea8
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [ebp - 0x1d8]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b2ece
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x174]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b2ef4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x188]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10b2f1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x19c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x10b2f2e
push eax
call fcn.01098230
cmp dword [ebp - 0x198], ebx
je 0x10b2f3e
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov ecx, dword [ebp - 0x1a4]
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x10b2f54
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.0109b4c0
mov esi, dword [ebp - 0x17c]
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x10b2f84
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x10b2f84
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [ebp - 0x158]
cmp esi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x10b2fad
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x10b2fad
cmp esi, ebx
je 0x10b2fad
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 4