Function at 0x1011550
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 [0x01021130]
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, [0x01002320]
mov qword [rsp + 0x68], r14
lea r15, [0x01002310]
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, [0x01002a80]
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 [0x010217a0], r13d
je 0x10116ba
cmp dword [0x010217c0], r13d
je 0x10116ba
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x68]
lea rcx, [0x010217a0]
call fcn.0100d730
lea rdx, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0x60]
lea rcx, [0x010217a0]
call fcn.0100d990
nop
cmp byte [rsp + 0xdb], 0
je 0x10116ec
lea rbx, [rsp + 0x88]
mov edi, 0xa
mov rcx, qword [rbx]
test rcx, rcx
je 0x10116e2
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbx], r13
add rbx, 8
sub rdi, 1
jne 0x10116d1
test r12b, r12b
je 0x1011775
lea rcx, [rbp + 0x48]
mov rdx, rsi
call fcn.010110c0
nop
cmp dword [0x010217a0], 0
je 0x101176e
cmp dword [0x010217c0], 0
je 0x101176e
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, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d730
mov r8d, dword [rsp + 0x40]
lea rdx, [0x010047f0]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0x60]
lea rcx, [0x010217a0]
call fcn.0100d990
mov al, 1
jmp 0x10119c0
mov rdx, qword [rbp + 0x50]
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
jne 0x10117f7
cmp dword [0x010217a0], eax
je 0x10117f0
cmp dword [0x010217c0], eax
je 0x10117f0
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, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d730
mov r8d, dword [rsp + 0x40]
lea rdx, [0x010047f0]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0x60]
lea rcx, [0x010217a0]
call fcn.0100d990
mov al, 1
jmp 0x10119c0
mov dword [rsp + 0xe0], 0x10
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x10118cf
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, [0x01002a50]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.0100e590
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
jne 0x1011952
cmp dword [0x010217a0], eax
je 0x101194e
cmp dword [0x010217c0], eax
je 0x101194e
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, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d730
mov r8d, dword [rsp + 0x40]
lea rdx, [0x010047f0]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0x60]
lea rcx, [0x010217a0]
call fcn.0100d990
mov al, 1
jmp 0x10119c0
cmp dword [0x010217a0], 0
je 0x10119be
cmp dword [0x010217c0], 0
je 0x10119be
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, [0x01004cd8]
lea rcx, [0x010217a0]
call fcn.0100d730
mov r8d, dword [rsp + 0x40]
lea rdx, [0x010047f0]
lea rcx, [0x010217a0]
call fcn.0100d4b0
mov edx, dword [rsp + 0x60]
lea rcx, [0x010217a0]
call fcn.0100d990
xor al, al
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.0100bf40
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret