Function at 0x1400cd110
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x800]
sub rsp, 0x900
mov rsi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp]
call fcn.140291590
mov dword [rbp + 0x830], 0x400
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1402c55b0]
movdqu xmmword [rbp - 0x80], xmm1
xor r13d, r13d
mov word [rsp + 0x70], r13w
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
lea r14, [rsi + 0x10]
mov rdx, qword [r14]
add rdx, 0x20
lea rcx, [rsp + 0x30]
call fcn.14004db80
cmp qword [rsi + 0x18], 0x10
jb 0x1400cd1e0
mov rsi, qword [rsi]
mov r14d, dword [r14]
test rsi, rsi
je 0x1400cd784
mov rbx, 0xffffffffffffffff
test r14d, r14d
cmove r14d, ebx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400cd784
lea r15d, [rax + 1]
movsxd rcx, eax
inc rcx
mov r8, qword [rsp + 0x40]
cmp rcx, r8
ja 0x1400cd250
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r13w
jmp 0x1400cd2ae
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x48]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400cd298
mov qword [rsp + 0x40], rcx
lea r9, [rsp + 0x30]
cmp rdi, 8
cmovae r9, qword [rsp + 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400cd28d
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x1400cd2ae
mov word [rsp + 0x20], r13w
mov r9, rdx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.1400db700
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400cd784
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400cd2f5
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
call fcn.140005b00
lea rdx, [rsp + 0x50]
mov ecx, 5
call fcn.1400a9720
mov r15, qword [rsp + 0x60]
movabs rdi, 0x7ffffffffffffffe
mov r14, qword [rsp + 0x68]
cmp r15, r14
jae 0x1400cd361
lea rax, [r15 + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r14, 8
cmovae rax, qword [rsp + 0x50]
mov dword [rax + r15*2], 0x20
mov rsi, qword [rsp + 0x50]
jmp 0x1400cd434
mov rax, rdi
sub rax, r15
cmp rax, 1
jb 0x1400cd919
lea r12, [r15 + 1]
mov rbx, r12
or rbx, 7
cmp rbx, rdi
jbe 0x1400cd386
mov rbx, rdi
jmp 0x1400cd3a7
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x1400cd39c
mov rbx, rdi
jmp 0x1400cd3a7
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.140070680
mov rsi, rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rbx
add r15, r15
mov r8, r15
mov rcx, rax
cmp r14, 8
jb 0x1400cd41d
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.140290ef0
mov dword [r15 + rsi], 0x20
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400cd413
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400cd913
mov rbx, rcx
mov rcx, rbx
call fcn.140086a30
jmp 0x1400cd42f
lea rdx, [rsp + 0x50]
call fcn.140290ef0
mov dword [r15 + rsi], 0x20
mov qword [rsp + 0x50], rsi
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp r12, r14
jae 0x1400cd46c
lea rax, [r12 + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp r14, 8
cmovae rax, rsi
mov dword [rax + r12*2], 0x22
mov rsi, qword [rsp + 0x50]
jmp 0x1400cd540
mov rax, rdi
sub rax, r12
cmp rax, 1
jb 0x1400cd919
lea r15, [r12 + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdi
jbe 0x1400cd492
mov rbx, rdi
jmp 0x1400cd4b3
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x1400cd4a8
mov rbx, rdi
jmp 0x1400cd4b3
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.140070680
mov rsi, rax
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rbx
add r12, r12
mov r8, r12
mov rcx, rax
cmp r14, 8
jb 0x1400cd529
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.140290ef0
mov dword [r12 + rsi], 0x22
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400cd51f
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400cd913
mov rbx, rcx
mov rcx, rbx
call fcn.140086a30
jmp 0x1400cd53b
lea rdx, [rsp + 0x50]
call fcn.140290ef0
mov dword [r12 + rsi], 0x22
mov qword [rsp + 0x50], rsi
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, rsi
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400040d0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
cmp rsi, rbx
jae 0x1400cd591
lea rax, [rsi + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, qword [rsp + 0x30]
mov dword [rax + rsi*2], 0x22
jmp 0x1400cd65d
mov rax, rdi
sub rax, rsi
cmp rax, 1
jb 0x1400cd919
lea r12, [rsi + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rdi
ja 0x1400cd5d0
mov rdx, rbx
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp rbx, rax
ja 0x1400cd5d0
lea rax, [rbx + rdx]
mov rdi, rcx
cmp rcx, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.140070680
mov r14, rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rdi
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp rbx, 8
jb 0x1400cd646
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
call fcn.140290ef0
mov dword [rsi + r14], 0x22
lea rdx, [rbx*2 + 2]
cmp rdx, 0x1000
jb 0x1400cd63c
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400cd913
mov rdi, rcx
mov rcx, rdi
call fcn.140086a30
jmp 0x1400cd658
lea rdx, [rsp + 0x30]
call fcn.140290ef0
mov dword [rsi + r14], 0x22
mov qword [rsp + 0x30], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rbp + 0x830]
lea r8, [rbp]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1400cd801
cmp dword [rbp + 0x830], 0
je 0x1400cd801
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x14006dee0]
xor edx, edx
xor ecx, ecx
call fcn.140055458
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov ecx, listen
call fcn.1400a9720
mov dword [rbp - reloc.WS2_32.dll_WSASetLastError], 0x70
mov dword [rbp - 0x6c], 0x800100
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x40], r13d
nop word [rax + rax]
mov rax, qword [0x140332dd8]
test rax, rax
jne 0x1400cd768
mov rax, qword [0x140333218]
test rax, rax
jne 0x1400cd744
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140333218], rax
test rax, rax
jne 0x1400cd744
mov rax, r13
lea rdx, str.ShellExecuteExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140332dd8], rax
test rax, rax
jne 0x1400cd768
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400cd77e
lea rcx, [rbp - 0x70]
call rax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x1400cd801
test eax, eax
jne 0x1400cd710
jmp 0x1400cd801
lea rax, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, r8
mov rbx, qword [rsp + 0x40]
lea r9, [rax + rbx*2]
lea rcx, [rsp + 0x30]
cmovae rcx, r8
lea rax, [rsp + 0x30]
cmovae rax, r8
mov rdx, rcx
sub rdx, rax
sar rdx, 1
sub r9, rcx
sar r9, 1
mov rax, rbx
sub rax, rdx
cmp rax, r9
cmovb r9, rax
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, r8
lea rcx, [rax + rdx*2]
sub rbx, r9
mov r8, rbx
sub r8, rdx
lea r8, [r8*2 + 2]
lea rdx, [rcx + r9*2]
call fcn.140290ef0
mov qword [rsp + 0x40], rbx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400cd843
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cd83e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cd91f
call fcn.140086a30
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400cd899
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cd894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cd925
call fcn.140086a30
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400cd8ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cd8e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cd90d
call fcn.140086a30
xor eax, eax
lea r11, [rsp + 0x900]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140037b28
nop
call fcn.140037b28
nop
call fcn.1400cb7f0
nop
call fcn.140037b28
nop
call fcn.140037b28
int3