Function at 0x140036ec0
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.1405ed770
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 [0x140647b00]
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 rdi, [rsi + 0x10]
mov rdx, qword [rdi]
add rdx, 0x20
lea rcx, [rsp + 0x30]
call fcn.14018f430
cmp qword [rsi + 0x18], 0x10
jb 0x140036f90
mov rsi, qword [rsi]
mov r14d, dword [rdi]
test rsi, rsi
je 0x140037527
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 0x140037527
lea r15d, [rax + 1]
movsxd rcx, r15d
mov r8, qword [rsp + 0x40]
cmp rcx, r8
ja 0x140036ffd
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 0x14003705b
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x48]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140037045
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 0x14003703a
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x14003705b
mov word [rsp + 0x20], r13w
mov r9, rdx
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.140091380
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 0x140037527
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400370a2
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
call fcn.140021540
lea rdx, [rsp + 0x50]
mov ecx, 5
call fcn.14003f360
mov r15, qword [rsp + 0x60]
movabs rdi, 0x7ffffffffffffffe
mov r14, qword [rsp + 0x68]
cmp r15, r14
jae 0x14003710e
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 0x1400371e1
mov rax, rdi
sub rax, r15
cmp rax, 1
jb 0x1400376bc
lea r12, [r15 + 1]
mov rbx, r12
or rbx, 7
cmp rbx, rdi
jbe 0x140037133
mov rbx, rdi
jmp 0x140037154
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x140037149
mov rbx, rdi
jmp 0x140037154
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.14005e0f0
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 0x1400371ca
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1405ed0c0
mov dword [r15 + rsi], 0x20
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400371c0
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400376b6
mov rbx, rcx
mov rcx, rbx
call fcn.14002bfe4
jmp 0x1400371dc
lea rdx, [rsp + 0x50]
call fcn.1405ed0c0
mov dword [r15 + rsi], 0x20
mov qword [rsp + 0x50], rsi
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp r12, r14
jae 0x140037219
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 0x1400372ed
mov rax, rdi
sub rax, r12
cmp rax, 1
jb 0x1400376bc
lea r15, [r12 + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdi
jbe 0x14003723f
mov rbx, rdi
jmp 0x140037260
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x140037255
mov rbx, rdi
jmp 0x140037260
lea rax, [rcx + r14]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.14005e0f0
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 0x1400372d6
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1405ed0c0
mov dword [r12 + rsi], 0x22
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x1400372cc
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400376b6
mov rbx, rcx
mov rcx, rbx
call fcn.14002bfe4
jmp 0x1400372e8
lea rdx, [rsp + 0x50]
call fcn.1405ed0c0
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.14018faa0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
cmp rsi, rbx
jae 0x14003733e
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 0x14003740a
mov rax, rdi
sub rax, rsi
cmp rax, 1
jb 0x1400376bc
lea r12, [rsi + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rdi
ja 0x14003737d
mov rdx, rbx
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp rbx, rax
ja 0x14003737d
lea rax, [rbx + rdx]
mov rdi, rcx
cmp rcx, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x30]
call fcn.14005e0f0
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 0x1400373f3
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
call fcn.1405ed0c0
mov dword [rsi + r14], 0x22
lea rdx, [rbx*2 + 2]
cmp rdx, 0x1000
jb 0x1400373e9
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1400376b6
mov rdi, rcx
mov rcx, rdi
call fcn.14002bfe4
jmp 0x140037405
lea rdx, [rsp + 0x30]
call fcn.1405ed0c0
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 0x1400375a4
cmp dword [rbp + 0x830], 0
je 0x1400375a4
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x14007c8c0]
xor edx, edx
xor ecx, ecx
call fcn.140098434
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov ecx, 0xb
call fcn.14003f360
mov dword [rbp - 0x70], 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
mov rax, qword [0x140a827f8]
test rax, rax
jne 0x14003750b
mov rax, qword [0x140a82d58]
test rax, rax
jne 0x1400374e7
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140a82d58], rax
test rax, rax
jne 0x1400374e7
mov rax, r13
lea rdx, str.ShellExecuteExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140a827f8], rax
test rax, rax
jne 0x14003750b
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140037521
lea rcx, [rbp - 0x70]
call rax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x1400375a4
test eax, eax
jne 0x1400374b3
jmp 0x1400375a4
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.1405ed0c0
mov qword [rsp + 0x40], rbx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400375e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400375e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400376c2
call fcn.14002bfe4
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14003763c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037637
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400376c8
call fcn.14002bfe4
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14003768d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037688
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400376b0
call fcn.14002bfe4
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.140012048
nop
call fcn.140012048
nop
call fcn.14006c0f0
nop
call fcn.140012048
nop
call fcn.140012048
int3