Function at 0x140036e90
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.1405f80d0
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 [0x140652b00]
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.14018f440
cmp qword [rsi + 0x18], 0x10
jb 0x140036f60
mov rsi, qword [rsi]
mov r14d, dword [rdi]
test rsi, rsi
je 0x1400374f7
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 0x1400374f7
lea r15d, [rax + 1]
movsxd rcx, r15d
mov r8, qword [rsp + 0x40]
cmp rcx, r8
ja 0x140036fcd
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 0x14003702b
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rsp + 0x48]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x140037015
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 0x14003700a
movzx eax, r13w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r13w
jmp 0x14003702b
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 0x1400374f7
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140037072
xor r8d, r8d
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
call fcn.140021510
lea rdx, [rsp + 0x50]
mov ecx, 5
call fcn.14003f330
mov r15, qword [rsp + 0x60]
movabs rdi, 0x7ffffffffffffffe
mov r14, qword [rsp + 0x68]
cmp r15, r14
jae 0x1400370de
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 0x1400371b1
mov rax, rdi
sub rax, r15
cmp rax, 1
jb 0x14003768c
lea r12, [r15 + 1]
mov rbx, r12
or rbx, 7
cmp rbx, rdi
jbe 0x140037103
mov rbx, rdi
jmp 0x140037124
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x140037119
mov rbx, rdi
jmp 0x140037124
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 0x14003719a
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1405f7a20
mov dword [r15 + rsi], 0x20
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x140037190
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140037686
mov rbx, rcx
mov rcx, rbx
call fcn.14002bfb4
jmp 0x1400371ac
lea rdx, [rsp + 0x50]
call fcn.1405f7a20
mov dword [r15 + rsi], 0x20
mov qword [rsp + 0x50], rsi
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
cmp r12, r14
jae 0x1400371e9
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 0x1400372bd
mov rax, rdi
sub rax, r12
cmp rax, 1
jb 0x14003768c
lea r15, [r12 + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdi
jbe 0x14003720f
mov rbx, rdi
jmp 0x140037230
mov rcx, r14
shr rcx, 1
mov rax, rdi
sub rax, rcx
cmp r14, rax
jbe 0x140037225
mov rbx, rdi
jmp 0x140037230
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 0x1400372a6
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
call fcn.1405f7a20
mov dword [r12 + rsi], 0x22
lea rdx, [r14*2 + 2]
cmp rdx, 0x1000
jb 0x14003729c
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140037686
mov rbx, rcx
mov rcx, rbx
call fcn.14002bfb4
jmp 0x1400372b8
lea rdx, [rsp + 0x50]
call fcn.1405f7a20
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.14018fab0
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
cmp rsi, rbx
jae 0x14003730e
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 0x1400373da
mov rax, rdi
sub rax, rsi
cmp rax, 1
jb 0x14003768c
lea r12, [rsi + 1]
mov rcx, r12
or rcx, 7
cmp rcx, rdi
ja 0x14003734d
mov rdx, rbx
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp rbx, rax
ja 0x14003734d
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 0x1400373c3
mov rdi, qword [rsp + 0x30]
mov rdx, rdi
call fcn.1405f7a20
mov dword [rsi + r14], 0x22
lea rdx, [rbx*2 + 2]
cmp rdx, 0x1000
jb 0x1400373b9
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140037686
mov rdi, rcx
mov rcx, rdi
call fcn.14002bfb4
jmp 0x1400373d5
lea rdx, [rsp + 0x30]
call fcn.1405f7a20
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 0x140037574
cmp dword [rbp + 0x830], 0
je 0x140037574
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.14003f330
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 [0x1409713f8]
test rax, rax
jne 0x1400374db
mov rax, qword [0x140971958]
test rax, rax
jne 0x1400374b7
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140971958], rax
test rax, rax
jne 0x1400374b7
mov rax, r13
lea rdx, str.ShellExecuteExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1409713f8], rax
test rax, rax
jne 0x1400374db
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400374f1
lea rcx, [rbp - 0x70]
call rax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x140037574
test eax, eax
jne 0x140037483
jmp 0x140037574
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.1405f7a20
mov qword [rsp + 0x40], rbx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400375b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400375b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037692
call fcn.14002bfb4
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14003760c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037698
call fcn.14002bfb4
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r13w
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14003765d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037658
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037680
call fcn.14002bfb4
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