Function at 0x140002310
Capabilities:
Create thread
Encode data using xor
Execute command
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
lea r8d, [r13 + 0x12]
lea rdx, str.YourComplexKeyHere
lea rcx, [rbp - 0x50]
call fcn.1400034e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea r8d, [r13 + 0x1b]
lea rdx, str.C:Windows_stabilidForm.dll
lea rcx, [rsp + 0x40]
call fcn.1400034e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140003020
mov r10d, r13d
mov r15, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x50]
mov r11, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x140002428
nop dword [rax]
lea rax, [rsp + 0x40]
cmp r11, 7
cmova rax, r9
lea rcx, [rax + r10*2]
lea r8, [rbp - 0x50]
cmp r15, 7
cmova r8, rsi
xor edx, edx
mov rax, r10
div rbx
movzx ecx, word [rcx]
xor cx, word [r8 + rdx*2]
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
mov word [rax + r10*2], cx
inc r10
cmp r10, rdi
jb 0x1400023e0
cmp r11, 7
jbe 0x140002463
lea rdx, [r11*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000245b
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002f2f
mov rcx, r9
call fcn.140004414
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0x13
lea rdx, str.C:Windows_stabilid
lea rcx, [rsp + 0x40]
call fcn.1400034e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140003020
mov r10, r13
mov r11, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400024fa
lea rax, [rsp + 0x40]
cmp r11, 7
cmova rax, r9
lea r8, [rax + r10*2]
lea rcx, [rbp - 0x50]
cmp r15, 7
cmova rcx, rsi
xor edx, edx
mov rax, r10
div rbx
movzx ecx, word [rcx + rdx*2]
xor cx, word [r8]
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
mov word [rax + r10*2], cx
inc r10
cmp r10, rdi
jb 0x1400024b2
cmp r11, 7
jbe 0x140002535
lea rdx, [r11*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000252d
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002edb
mov rcx, r9
call fcn.140004414
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 8
lea rdx, str.Form.dll
lea rcx, [rsp + 0x40]
call fcn.1400034e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140003020
mov r10, r13
mov r11, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400025d8
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x40]
cmp r11, 7
cmova rax, r9
lea r8, [rax + r10*2]
lea rcx, [rbp - 0x50]
cmp r15, 7
cmova rcx, rsi
xor edx, edx
mov rax, r10
div rbx
movzx ecx, word [rcx + rdx*2]
xor cx, word [r8]
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rax, qword [rbp - 0x10]
mov word [rax + r10*2], cx
inc r10
cmp r10, rdi
jb 0x140002590
cmp r11, 7
jbe 0x140002613
lea rdx, [r11*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000260b
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e87
mov rcx, r9
call fcn.140004414
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 9
lea rdx, str.CROSSFIRE
lea rcx, [rsp + 0x40]
call fcn.1400034e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140003020
mov r10, r13
mov r11, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400026aa
lea rax, [rsp + 0x40]
cmp r11, 7
cmova rax, r9
lea r8, [rax + r10*2]
lea rcx, [rbp - 0x50]
cmp r15, 7
cmova rcx, rsi
xor edx, edx
mov rax, r10
div rbx
movzx ecx, word [rcx + rdx*2]
xor cx, word [r8]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
mov word [rax + r10*2], cx
inc r10
cmp r10, rdi
jb 0x140002662
cmp r11, 7
jbe 0x1400026e5
lea rdx, [r11*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400026dd
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e33
mov rcx, r9
call fcn.140004414
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140003020
mov r9, r13
cmp qword [rbp + 0x40], r13
jbe 0x14000274a
nop dword [rax + rax]
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rax, qword [rbp + 0x30]
lea r8, [rax + r9*2]
lea rcx, [rbp - 0x50]
cmp r15, 7
cmova rcx, rsi
xor edx, edx
mov rax, r9
div rbx
movzx ecx, word [rcx + rdx*2]
xor cx, word [r8]
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rax, qword [rbp - 0x70]
mov word [rax + r9*2], cx
inc r9
cmp r9, qword [rbp + 0x40]
jb 0x140002700
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140003020
mov r9, r13
cmp qword [rbp + 0x20], r13
jbe 0x1400027ad
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova rax, qword [rbp + 0x10]
lea rcx, [rax + r9*2]
lea r8, [rbp - 0x50]
cmp r15, 7
cmova r8, rsi
xor edx, edx
mov rax, r9
div rbx
movzx ecx, word [rcx]
xor cx, word [r8 + rdx*2]
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rax, qword [rbp + 0x70]
mov word [rax + r9*2], cx
inc r9
cmp r9, qword [rbp + 0x20]
jb 0x140002760
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x50]
call fcn.140003020
mov r9, r13
cmp qword [rbp], r13
jbe 0x14000281a
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rax, qword [rbp - 0x10]
lea r8, [rax + r9*2]
lea rcx, [rbp - 0x50]
cmp r15, 7
cmova rcx, rsi
xor edx, edx
mov rax, r9
div rbx
movzx ecx, word [rcx + rdx*2]
xor cx, word [r8]
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rax, qword [rbp + 0x50]
mov word [rax + r9*2], cx
inc r9
cmp r9, qword [rbp]
jb 0x1400027d0
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x90]
call fcn.140003020
mov r9, r13
cmp qword [rbp - 0x20], r13
jbe 0x140002893
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
lea r8, [rax + r9*2]
lea rcx, [rbp - 0x50]
cmp r15, 7
cmova rcx, rsi
xor edx, edx
mov rax, r9
div rbx
movzx ecx, word [rcx + rdx*2]
xor cx, word [r8]
lea rax, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rax, qword [rbp + 0x90]
mov word [rax + r9*2], cx
inc r9
cmp r9, qword [rbp - 0x20]
jb 0x140002840
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0xb0]
call fcn.1400020f0
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400034e0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.140004178
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140003011
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002940
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000293b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000293b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rdx, qword [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140002940
mov dword [rbp - 0x80], r13d
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r12d, eax
mov r14d, 1
test eax, eax
je 0x140002c8b
mov dword [rbp - 0x78], r13d
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140002a05
cmp rbx, 0xffffffffffffffff
je 0x140002a05
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x78]
mov r8d, 0xd000
lea rdx, [0x140009070]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
lea rdi, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdi, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140002a40
lea rcx, [rsp + 0x60]
call fcn.1400034e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140002a70
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400034e0
nop
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0xd0]
call fcn.140003d00
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002ae8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ae2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140002b2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002c67
call fcn.140004414
nop
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002c2a
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 7
cmova rcx, qword [rbp + 0xd0]
call rax
mov rbx, rax
test rax, rax
je 0x140002c2a
lea rdx, [0x140006688]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140002b99
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002c2a
mov r9d, r12d
mov r8, rbx
mov rdx, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov rdi, rax
test rax, rax
jne 0x140002bc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002c2a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r12d
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea r8, [0x1400020a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.pause___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rcx, rbx
test eax, eax
jne 0x140002c14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002c2a
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, str.pause___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r14d, r13d
mov rdx, qword [rbp + 0xe8]
cmp rdx, 7
jbe 0x140002c73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
movdqa xmm0, xmmword [0x140006780]
movdqu xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r13w
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x140002ccf
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x140002d31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], 7
mov word [rbp + 0x90], r13w
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140002d8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r13w
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x140002de5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002de0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002de0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp + 0x80], r13
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r13w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140002e3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x140002e93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140002ee7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ee2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp], r13
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r13w
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140002f3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r13w
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x140002f8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004414
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
cmp r15, 7
jbe 0x140002fde
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140002fd6
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140004414
mov eax, r14d
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400043b0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x40]
call fcn.140002030
int3