Function at 0x100010244
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x10001c110]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r15d, r15d
mov r14d, ecx
mov qword [rsp + 0x30], r15
mov r13d, r15d
mov qword [rsp + 0x28], r15
mov r12d, r15d
mov ebx, r15d
cmp dword [0x10001d188], r15d
jne 0x10001029e
mov ebx, 0x8007000e
jmp 0x1000102d3
lea rcx, [0x10001d160]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10001d1a8], r15d
jne 0x1000102bb
mov ebx, 0x80630002
jmp 0x1000102c1
inc dword [0x10001d190]
lea rcx, [0x10001d160]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, r15d
jge 0x10001031e
mov rcx, qword [0x10001c770]
lea rsi, [0x10001c770]
cmp rcx, rsi
je 0x10001070e
mov dil, 8
test byte [rcx + 0x5c], dil
je 0x10001070e
cmp byte [rcx + 0x59], 1
jb 0x10001070e
mov rcx, qword [rcx + 0x50]
lea r8, [0x100001eb0]
mov edx, 0x18
mov r9d, ebx
call fcn.100005080
jmp 0x10001070e
lea rcx, [0x10001d228]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 2
lea rbp, [0x100001eb0]
lea rsi, [0x10001c770]
test dil, r14b
je 0x1000103a2
test byte [0x10001d098], dil
jne 0x1000103a2
mov ecx, edi
mov r12d, edi
call sub.P2PCOLLAB.dll_CollabPublicationListen
cmp eax, r15d
mov ebx, eax
jl 0x100010682
lea r13d, [rdi - 1]
call sub.P2PCOLLAB.dll_CollabPublicationPublish
cmp eax, r15d
mov ebx, eax
jl 0x100010682
or dword [0x10001d098], edi
mov rcx, qword [0x10001c770]
cmp rcx, rsi
je 0x1000103a9
test byte [rcx + 0x5c], 0x10
je 0x1000103a9
cmp byte [rcx + 0x59], 4
jb 0x1000103a9
mov rcx, qword [rcx + 0x50]
lea edx, [rdi + 0x17]
mov r8, rbp
call fcn.100005014
mov rcx, qword [0x10001c770]
test r14b, 1
je 0x100010654
test byte [0x10001d098], 1
mov dil, 8
je 0x1000103cc
cmp byte [0x10001ce34], r15b
jne 0x10001062b
xor eax, eax
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov dword [rsp + 0x20], r15d
mov word [rsp + 0x80], r15w
mov dword [rsp + 0x38], 0x10
mov qword [rsp + 0x82], rax
mov qword [rsp + 0x8a], rax
mov qword [rsp + 0x92], rax
mov dword [rsp + 0x9a], eax
mov word [rsp + 0x9e], ax
call sub.P2PCOLLAB.dll_CollabGetContact
cmp eax, r15d
mov ebx, eax
jge 0x10001045e
mov rcx, qword [0x10001c770]
cmp rcx, rsi
je 0x100010682
mov dil, 8
test byte [rcx + 0x5c], dil
je 0x100010682
cmp byte [rcx + 0x59], 1
jb 0x100010682
mov edx, 0x1a
mov rcx, qword [rcx + 0x50]
mov r9d, eax
mov r8, rbp
call fcn.100005080
jmp 0x100010682
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, r15d
jne 0x1000104af
mov rax, qword [0x10001c770]
cmp rax, rsi
je 0x1000104af
test byte [rax + 0x5c], dil
je 0x1000104af
cmp byte [rax + 0x59], 2
jb 0x1000104af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x10001c770]
mov edx, 0x1b
mov rcx, qword [rcx + 0x50]
mov r9d, eax
mov r8, rbp
call fcn.100005080
mov eax, 1
mov ecx, eax
mov r12d, eax
call sub.P2PCOLLAB.dll_CollabPublicationListen
cmp eax, r15d
mov ebx, eax
jge 0x1000104d0
cmp eax, 0x80630107
jne 0x100010682
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r13d, r12d
call fcn.1000121a4
cmp eax, r15d
mov ebx, eax
jge 0x100010517
mov rcx, qword [0x10001c770]
cmp rcx, rsi
je 0x100010682
test byte [rcx + 0x5c], dil
je 0x100010682
cmp byte [rcx + 0x59], r12b
jb 0x100010682
mov edx, 0x1c
jmp 0x10001044a
mov eax, dword [rsp + 0x20]
cmp eax, r15d
jbe 0x1000105ef
mov rcx, qword [rsp + 0x28]
cmp rcx, r15
je 0x1000105ef
movzx r8d, word [rcx + 6]
mov edx, r12d
cmp eax, edx
jbe 0x100010552
add rcx, 0x26
cmp r8w, word [rcx]
jne 0x1000105bc
inc edx
add rcx, 0x20
cmp edx, eax
jb 0x100010542
xor edx, edx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], r15
lea r8d, [rdx + 0x38]
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rax, qword [r11 + 8]
lea rcx, [rsp + 0x48]
mov r8d, 0x20
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rax
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x40]
call sub.P2PCOLLAB.dll_PeopleNearMeSignin
cmp eax, r15d
mov ebx, eax
jl 0x100010682
mov rcx, qword [0x10001c770]
mov byte [0x10001ce34], r12b
jmp 0x10001062b
mov rcx, qword [0x10001c770]
cmp rcx, rsi
je 0x1000105e5
test byte [rcx + 0x5c], dil
je 0x1000105e5
cmp byte [rcx + 0x59], r12b
jb 0x1000105e5
mov rcx, qword [rcx + 0x50]
mov edx, 0x1d
mov r8, rbp
call fcn.100005014
mov ebx, 0x8000ffff
jmp 0x100010682
mov ebx, 0x630005
mov rcx, qword [0x10001c770]
cmp rcx, rsi
je 0x100010624
test byte [rcx + 0x5c], dil
je 0x100010624
cmp byte [rcx + 0x59], 2
jb 0x100010624
mov rcx, qword [rcx + 0x50]
mov edx, 0x1e
mov r8, rbp
call fcn.100005014
mov rcx, qword [0x10001c770]
mov byte [0x10001ce34], r15b
or dword [0x10001d098], 1
cmp rcx, rsi
je 0x100010654
test byte [rcx + 0x5c], dil
je 0x100010654
cmp byte [rcx + 0x59], 4
jb 0x100010654
mov rcx, qword [rcx + 0x50]
mov edx, 0x1f
mov r8, rbp
call fcn.100005014
call fcn.100008004
mov rdi, qword [0x10001c6a0]
cmp rdi, r15
je 0x100010682
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor r9d, r9d
mov edx, 0x800c
shl eax, 0x10
mov rcx, rdi
mov r8d, eax
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x30]
cmp rcx, r15
je 0x100010691
call sub.P2P.dll_PeerFreeData
mov rcx, qword [rsp + 0x28]
cmp rcx, r15
je 0x1000106a0
call fcn.100015d5c
cmp dword [0x10001d188], r15d
je 0x1000106df
lea rcx, [0x10001d160]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x10001d190], 0xffffffff
mov eax, dword [0x10001d190]
jne 0x1000106d2
mov rcx, qword [0x10001d198]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [0x10001d160]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14b, 1
je 0x1000106ef
cmp ebx, r15d
jge 0x100010701
call sub.P2PCOLLAB.dll_PeopleNearMeSignout
cmp ebx, r15d
jge 0x100010701
cmp r13d, r15d
je 0x100010701
mov ecx, r12d
call sub.P2PCOLLAB.dll_CollabPublicationStopListen
lea rcx, [0x10001d228]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.100017af0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret