Function at 0x1400cb740
Capabilities:
Get hostname
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x188]
call fcn.1400055f0
nop
mov rdx, qword [rsp + 0x2b0]
lea rcx, [rsp + 0x1a8]
call fcn.1400055f0
nop
lea rax, [rsp + 0x140]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402f6108]
mov rcx, qword [rsp + 0x50]
call fcn.1400b4a00
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x188]
call fcn.1400cd810
lea rax, [rsp + 0x118]
mov qword [rsp + 0x60], rax
lea rdx, str.____r_n_t
mov rcx, qword [rsp + 0x60]
call fcn.1400b4a00
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1a8]
call fcn.1400cd810
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1c8]
call fcn.1400055f0
nop
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x168]
call fcn.1400055f0
nop
mov dword [rsp + 0x24], 0
xor r8d, r8d
mov dx, 0x5c
lea rcx, [rsp + 0x188]
call fcn.14006a150
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400cb904
mov rax, qword [rsp + 0x30]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x188]
call fcn.14000ac20
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x1c8]
call fcn.14000ad60
lea rcx, [rsp + 0x268]
call fcn.1400049b0
mov r9, qword [rsp + 0x30]
xor r8d, r8d
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x188]
call fcn.14000ac20
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x168]
call fcn.14000ad60
lea rcx, [rsp + 0x208]
call fcn.1400049b0
mov dword [rsp + 0x24], 2
jmp 0x1400cba30
xor r8d, r8d
mov dx, 0x40
lea rcx, [rsp + 0x188]
call fcn.14006a150
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1400cb9cb
mov r9, qword [rsp + 0x30]
xor r8d, r8d
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x188]
call fcn.14000ac20
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x1c8]
call fcn.14000ad60
lea rcx, [rsp + 0x228]
call fcn.1400049b0
mov rax, qword [rsp + 0x30]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x188]
call fcn.14000ac20
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x168]
call fcn.14000ad60
lea rcx, [rsp + 0x248]
call fcn.1400049b0
mov dword [rsp + 0x24], 1
jmp 0x1400cba30
lea rdx, [0x1402f60f4]
lea rcx, [rsp + 0x168]
call fcn.140005760
movzx eax, al
test eax, eax
je 0x1400cb9f0
mov dword [rsp + 0x24], 2
jmp 0x1400cba30
lea rcx, [rsp + 0x168]
call fcn.140068f90
movzx eax, al
test eax, eax
jne 0x1400cba30
xor r8d, r8d
mov dx, 0x2e
lea rcx, [rsp + 0x168]
call fcn.14006a150
cmp rax, 0xffffffffffffffff
jne 0x1400cba28
mov dword [rsp + 0x24], 2
jmp 0x1400cba30
mov dword [rsp + 0x24], 1
lea rdx, [0x1402f6128]
lea rcx, [rsp + 0x168]
call fcn.140005760
movzx eax, al
test eax, eax
je 0x1400cbc00
mov dword [rsp + 0x2c], 0
lea r8, [rsp + 0x2c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea rcx, [rsp + 0x1e8]
call fcn.1400032f0
nop
cmp dword [rsp + 0x2c], 0
je 0x1400cbac5
mov eax, dword [rsp + 0x2c]
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x1e8]
call fcn.14006cdc0
xor edx, edx
lea rcx, [rsp + 0x1e8]
call fcn.140054f10
lea r8, [rsp + 0x2c]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea rcx, [rsp + 0x1e8]
call fcn.14006bcb0
mov dword [rsp + 0x24], 2
lea rcx, [rsp + 0x1a8]
call fcn.140068f90
movzx eax, al
test eax, eax
jne 0x1400cbb52
lea rdx, [0x1402f612c]
lea rcx, [rsp + 0x1a8]
call fcn.14003d710
movzx eax, al
test eax, eax
je 0x1400cbb52
lea rcx, [rsp + 0xd8]
call fcn.140052ac0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x1a8]
call fcn.1400b4950
movzx eax, al
test eax, eax
jne 0x1400cbb52
mov dword [rsp + 0x38], 1
jmp 0x1400cbb5a
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400cbb80
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xd8]
call fcn.1400541b0
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400cbbee
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 8], 3
mov dword [rsp + 0x40], 3
lea rcx, [rsp + 0x1e8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x168]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x188]
call fcn.1400049b0
mov eax, dword [rsp + 0x40]
jmp 0x1400cbef7
lea rcx, [rsp + 0x1e8]
call fcn.1400049b0
jmp 0x1400cbd00
lea rcx, [rsp + 0x1a8]
call fcn.140068f90
movzx eax, al
test eax, eax
jne 0x1400cbc72
lea rcx, [rsp + 0xe8]
call fcn.140052ac0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x168]
call fcn.1400b4950
movzx eax, al
test eax, eax
jne 0x1400cbc72
mov dword [rsp + 0x3c], 1
jmp 0x1400cbc7a
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x29], al
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1400cbca0
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0xe8]
call fcn.1400541b0
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x1400cbd00
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 8], 3
mov dword [rsp + 0x44], 3
lea rcx, [rsp + 0x168]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x188]
call fcn.1400049b0
mov eax, dword [rsp + 0x44]
jmp 0x1400cbef7
cmp dword [rsp + 0x24], 2
jne 0x1400cbd51
lea rcx, [rsp + 0xf8]
call fcn.140052ac0
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x168]
call fcn.1400cd230
nop
lea rcx, [rsp + 0xf8]
call fcn.1400541b0
jmp 0x1400cbda0
cmp dword [rsp + 0x24], 1
jne 0x1400cbda0
lea rcx, [rsp + 0x108]
call fcn.140052ac0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x168]
call fcn.1400cd1e0
nop
lea rcx, [rsp + 0x108]
call fcn.1400541b0
xor r8d, r8d
lea rdx, [0x1402f6130]
lea rcx, [rsp + 0x1c8]
call fcn.14006a1c0
cmp rax, 0xffffffffffffffff
jne 0x1400cbdda
xor r8d, r8d
lea rdx, [0x1402f6138]
lea rcx, [rsp + 0x168]
call fcn.14006a1c0
cmp rax, 0xffffffffffffffff
je 0x1400cbe36
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 8], 3
mov dword [rsp + 0x48], 3
lea rcx, [rsp + 0x168]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x188]
call fcn.1400049b0
mov eax, dword [rsp + 0x48]
jmp 0x1400cbef7
mov rax, qword [rsp + 0x2a0]
add rax, 0x10
lea rdx, [rsp + 0x1c8]
mov rcx, rax
call fcn.14000b210
mov rax, qword [rsp + 0x2a0]
add rax, 0x30
lea rdx, [rsp + 0x168]
mov rcx, rax
call fcn.14000b210
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x168]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400049b0
nop
lea rcx, [rsp + 0x188]
call fcn.1400049b0
mov eax, dword [rsp + 0x4c]
jmp 0x1400cbef7
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x298
ret