Function at 0x10134c0
Capabilities:
Get hostname

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x01023178]
xor rax, rsp
mov qword [rsp + 0x118], rax
movzx r12d, r8b
mov rsi, rdx
mov rbp, rcx
lea rax, [rsp + 0x68]
mov qword [r11 - 0x78], rax
lea r14, [0x01003ca0]
mov qword [rsp + 0x68], r14
lea r15, [0x01003c90]
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x868
mov dword [rsp + 0x7c], 0x4000
xor r13d, r13d
mov dword [r11 - 0xd8], r13d
mov word [r11 - 0x80], r13w
mov byte [r11 - 0x7e], r13b
mov byte [r11 - 0x7d], 1
mov qword [r11 - 0xd0], r13
mov qword [r11 - 0xc8], r13
mov qword [r11 - 0xc0], r13
mov qword [r11 - 0xb8], r13
mov qword [r11 - 0xb0], r13
mov qword [r11 - 0xa8], r13
mov qword [r11 - 0xa0], r13
mov qword [r11 - 0x98], r13
mov qword [r11 - 0x90], r13
mov qword [r11 - 0x88], r13
lea rax, [rsp + 0x68]
mov qword [r11 - 0x70], rax
mov dword [rsp + 0x40], r13d
lea rcx, [0x01004400]
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov r8d, dword [rsp + 0x78]
mov dword [rsp + 0x58], r8d
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x5c], eax
mov r9d, dword [r11 - 0xd8]
mov dword [rsp + 0x60], r9d
cmp dword [0x010237e0], r13d
je 0x101362a
cmp dword [0x01023800], r13d
je 0x101362a
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x68]
lea rcx, [0x010237e0]
call fcn.0100f6a0
lea rdx, [0x01001570]
lea rcx, [0x010237e0]
call fcn.0100f420
mov edx, dword [rsp + 0x60]
lea rcx, [0x010237e0]
call fcn.0100f900
nop
cmp byte [rsp + 0xdb], 0
je 0x101365c
lea rbx, [rsp + 0x88]
mov edi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x1013652
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbx], r13
add rbx, 8
sub rdi, 1
jne 0x1013641
test r12b, r12b
je 0x10136e5
lea rcx, [rbp + 0x48]
mov rdx, rsi
call fcn.01013030
nop
cmp dword [0x010237e0], 0
je 0x10136de
cmp dword [0x01023800], 0
je 0x10136de
mov dword [rsp + 0x30], r13d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x01001570]
lea rcx, [0x010237e0]
call fcn.0100f6a0
mov r8d, dword [rsp + 0x40]
lea rdx, [0x01001578]
lea rcx, [0x010237e0]
call fcn.0100f420
mov edx, dword [rsp + 0x60]
lea rcx, [0x010237e0]
call fcn.0100f900
mov al, 1
jmp 0x1013930
mov rdx, qword [rbp + 0x50]
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
jne 0x1013767
cmp dword [0x010237e0], eax
je 0x1013760
cmp dword [0x01023800], eax
je 0x1013760
mov dword [rsp + 0x30], r13d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x01001570]
lea rcx, [0x010237e0]
call fcn.0100f6a0
mov r8d, dword [rsp + 0x40]
lea rdx, [0x01001578]
lea rcx, [0x010237e0]
call fcn.0100f420
mov edx, dword [rsp + 0x60]
lea rcx, [0x010237e0]
call fcn.0100f900
mov al, 1
jmp 0x1013930
mov dword [rsp + 0xe0], 0x10
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x101383f
lea rax, [rsp + 0x68]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], 0x880
mov dword [rsp + 0x7c], 0x4000
mov dword [rsp + 0x80], r13d
mov word [rsp + 0xd8], 0
mov byte [rsp + 0xda], 0
mov byte [rsp + 0xdb], 1
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], r13
lea r8, [0x010043d0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.01010500
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
jne 0x10138c2
cmp dword [0x010237e0], eax
je 0x10138be
cmp dword [0x01023800], eax
je 0x10138be
mov dword [rsp + 0x30], r13d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x01001570]
lea rcx, [0x010237e0]
call fcn.0100f6a0
mov r8d, dword [rsp + 0x40]
lea rdx, [0x01001578]
lea rcx, [0x010237e0]
call fcn.0100f420
mov edx, dword [rsp + 0x60]
lea rcx, [0x010237e0]
call fcn.0100f900
mov al, 1
jmp 0x1013930
cmp dword [0x010237e0], 0
je 0x101392e
cmp dword [0x01023800], 0
je 0x101392e
mov dword [rsp + 0x30], r13d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x60]
xor r8d, r8d
lea rdx, [0x01001570]
lea rcx, [0x010237e0]
call fcn.0100f6a0
mov r8d, dword [rsp + 0x40]
lea rdx, [0x01001578]
lea rcx, [0x010237e0]
call fcn.0100f420
mov edx, dword [rsp + 0x60]
lea rcx, [0x010237e0]
call fcn.0100f900
xor al, al
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.0100db20
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret