Function at 0x180248474
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x310
mov qword [rbp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
xor r12d, r12d
mov dword [rbp + 0x260], r12d
call fcn.1801aaa20
test al, al
jne 0x1802478bf
lea eax, [r12 + 1]
jmp 0x180248451
mov dword [rbp + 0x258], r12d
test rbx, rbx
setne dl
mov edi, 1
test rbx, rbx
je 0x1802478eb
mov rcx, r12
mov al, byte [rcx + rbx]
add rcx, rdi
test al, al
jne 0x1802478d9
test rcx, rcx
setne al
and dl, al
mov r13d, 0xf
or r15, 0xffffffffffffffff
xorps xmm0, xmm0
test dl, dl
je 0x180247928
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov r8, r15
inc r8
cmp byte [rbx + r8], r12b
jne 0x18024790b
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.18007b70c
lea rsi, [rbp + 0x30]
mov ebx, edi
jmp 0x180247955
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
xor r8d, r8d
lea rdx, [0x18027fdb8]
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp - 0x70], r12b
lea rsi, [rbp - 0x70]
mov ebx, 2
mov dword [rbp + 0x260], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov r8d, 0x20
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r13
mov byte [rsi], r12b
mov r14d, 0x1000
test bl, 2
je 0x1802479e2
and ebx, 0xfffffffd
mov dword [rbp + 0x260], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1802479d6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r14
jb 0x1802479d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802479d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x70], r12b
test dil, bl
je 0x180247a36
and ebx, 0xfffffffe
mov dword [rbp + 0x260], ebx
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x180247a2a
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r14
jb 0x180247a25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180247a25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r13
mov byte [rbp + 0x30], r12b
lea rcx, [rbp - 0x50]
mov r8, qword [rbp - 0x40]
cmp qword [rbp - 0x38], 0x10
jb 0x180247a4e
mov rdx, qword [rbp - 0x50]
add r8, rdx
jmp 0x180247a55
add r8, rcx
lea rdx, [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
cmp rdx, r8
jne 0x180247a85
mov rcx, r12
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
jmp 0x180247a9a
mov r9, r8
sub r9, rdx
lea rcx, [rsp + 0x60]
call fcn.1800963e0
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov esi, 8
cmp qword [rsp + 0x78], rsi
setae r9b
cmovae rax, qword [rsp + 0x60]
cmp word [rax], 0x22
jne 0x180247b76
lea rax, [rsp + 0x60]
test r9b, r9b
cmovne rax, qword [rsp + 0x60]
cmp word [rax + rcx*2 - 2], 0x22
jne 0x180247b76
cmp rcx, 2
jne 0x180247af3
lea rdx, [0x18027fbfc]
lea rcx, [rsp + 0x60]
call fcn.18007a3c8
jmp 0x180247b76
lea r8, [rcx - 2]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r12
cmp rcx, rdi
jb 0x18024846c
mov qword [rbp + 0x268], r8
lea rax, [rcx - 1]
mov qword [rbp + 0xd8], rax
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x60]
test r9b, r9b
cmovne rdx, qword [rsp + 0x60]
add rdx, 2
lea rcx, [rbp + 0x90]
call fcn.18007b5dc
or ebx, 4
mov dword [rbp + 0x260], ebx
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.18014b514
nop
lea rcx, [rbp + 0x90]
call fcn.18007a444
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov ebx, 0x7b
mov eax, dword [r8 + rdx]
cmp dword [0x1802c8514], eax
jle 0x180247df3
lea rcx, [0x1802c8514]
call fcn.1802696f0
cmp dword [0x1802c8514], r15d
jne 0x180247df3
lea rax, [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
mov dword [rsp + 0x48], ebx
mov byte [rsp + 0x4c], 0x38
mov byte [rsp + 0x4d], 0x14
mov byte [rsp + 0x4e], 0x16
mov byte [rsp + 0x4f], 0x16
mov byte [rsp + 0x50], 0x1a
mov byte [rsp + 0x51], 0x15
mov byte [rsp + 0x52], 0x1f
mov byte [rsp + 0x53], 0x37
mov byte [rsp + 0x54], 0x12
mov byte [rsp + 0x55], 0x15
mov byte [rsp + 0x56], 0x1e
mov byte [rsp + 0x57], 0x2f
mov byte [rsp + 0x58], 0x14
mov byte [rsp + 0x59], 0x3a
mov byte [rsp + 0x5a], 9
mov byte [rsp + 0x5b], 0x1c
mov byte [rsp + 0x5c], 0xd
mov byte [rsp + 0x5d], 0x2c
xor eax, eax
mov byte [rsp + 0x5e], al
mov al, byte [rsp + 0x4c]
mov rdx, r12
mov al, byte [rsp + rdx + 0x4c]
mov ecx, dword [rsp + 0x48]
xor cl, al
mov byte [rsp + rdx + 0x4c], cl
add rdx, rdi
cmp rdx, 0x12
jb 0x180247c36
mov byte [rsp + 0x5e], r12b
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], r12
lea rax, [rsp + 0x4c]
mov r8, r15
inc r8
cmp byte [rax + r8], r12b
jne 0x180247c72
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0xb0]
call fcn.18007b70c
nop
mov dword [rsp + 0x30], 0x54
mov eax, dword [rsp + 0x30]
xor al, 0x73
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
add al, dil
xor al, 0x68
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x65
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x6c
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x38], al
mov eax, dword [rsp + 0x30]
add al, 5
xor al, 0x33
mov byte [rsp + 0x39], al
mov eax, dword [rsp + 0x30]
add al, 6
xor al, 0x32
mov byte [rsp + 0x3a], al
xor eax, eax
mov byte [rsp + 0x3b], al
mov al, byte [rsp + 0x34]
mov rdx, r12
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
add rdx, rdi
cmp rdx, 7
jb 0x180247cf5
mov byte [rsp + 0x3b], r12b
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
lea rax, [rsp + 0x34]
mov r8, r15
inc r8
cmp byte [rax + r8], r12b
jne 0x180247d2a
lea rdx, [rsp + 0x34]
lea rcx, [rbp + 0x50]
call fcn.18007b70c
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xf0]
call fcn.180188b20
nop
mov qword [rsp + 0x20], r12
mov r9b, dil
lea r8, [rbp + 0xb0]
mov rdx, rax
lea rcx, [0x1802c8c70]
call fcn.1802487bc
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x180247dac
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, r14
jb 0x180247da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180247da7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r13
mov byte [rbp + 0x50], r12b
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x13]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027e6d8]
call fcn.18026951c
nop
lea rcx, [0x1802c8514]
call fcn.180269690
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], rsi
cmovae rbx, qword [rsp + 0x60]
lea r15, [0x1802c8c88]
mov rcx, r15
cmp qword [0x1802c8ca0], 0x10
cmovae rcx, qword [0x1802c8c88]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180247e53
mov rcx, r15
cmp qword [0x1802c8ca0], 0x10
cmovae rcx, qword [0x1802c8c88]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1802c8c80], rax
mov r8, rax
mov rdx, r15
call fcn.18008c99c
lea rdx, [rbp + 0x258]
mov rcx, rbx
call qword [0x1802c8c78]
mov r15, rax
mov eax, 0x7b
mov word [rbp - 0x80], ax
mov eax, 0x70
mov word [rbp - 0x7e], ax
mov eax, 0x6d
mov word [rbp - 0x7c], ax
mov eax, 0x74
mov word [rbp - 0x7a], ax
mov word [rbp - 0x78], ax
mov eax, 0x3b
mov word [rbp - 0x76], ax
mov eax, 0x3a
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], r12w
movzx eax, word [rbp - 0x80]
mov rcx, r12
movzx eax, word [rbp + rcx*2 - 0x80]
sub ax, si
mov word [rbp + rcx*2 - 0x80], ax
add rcx, rdi
cmp rcx, 7
jb 0x180247eac
lea rcx, [rbp - 0x80]
call fcn.1801a9150
nop
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp - 0x80]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov eax, dword [rbp + 0x258]
test eax, eax
jle 0x1802483c1
add eax, edi
mov dword [rbp + 0x258], eax
movsxd rcx, eax
mov rax, rsi
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180269800
mov r14, rax
mov ebx, pe_nt_image_headers64
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x110]
call sub.VCRUNTIME140.dll_memset
mov r8d, ebx
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x180247fef
mov dword [rsp + 0x3c], 0x5c
mov eax, dword [rsp + 0x3c]
xor al, 0x70
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x3c]
add al, dil
xor al, 0x6f
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x3c]
add al, 2
xor al, 0x6c
mov byte [rsp + 0x42], al
mov eax, dword [rsp + 0x3c]
add al, 3
xor al, 0x2e
mov byte [rsp + 0x43], al
mov eax, dword [rsp + 0x3c]
add al, 4
xor al, 0x65
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x3c]
add al, 5
xor al, 0x78
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x3c]
add al, 6
xor al, 0x65
mov byte [rsp + 0x46], al
xor eax, eax
mov byte [rsp + 0x47], al
mov al, byte [rsp + 0x40]
mov r8, r12
mov al, byte [rsp + r8 + 0x40]
mov ecx, dword [rsp + 0x3c]
add cl, r8b
xor cl, al
mov byte [rsp + r8 + 0x40], cl
add r8, rdi
cmp r8, 7
jb 0x180247fa9
mov byte [rsp + 0x47], r12b
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rbp + 0x110]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
lea rax, [rbp + 0x110]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r12b
jne 0x180248012
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x70]
call fcn.18007b70c
nop
mov rdx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r12w
jne 0x180248041
lea rcx, [rbp + 0x10]
call fcn.18007b5dc
nop
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], rsi
setae dl
cmovae rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x20]
lea r8, [rcx + rax*2]
lea rax, [rbp + 0x10]
test dl, dl
cmovne rax, qword [rbp + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
cmp rax, r8
jne 0x18024809a
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
jmp 0x1802480b0
mov r9, r8
sub r9, rax
sar r9, 1
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.18007dc1c
nop
mov rbx, r12
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.180265308
test al, al
jne 0x18024810c
lea rcx, [rbp + 0x110]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
lea rbx, [rdi + rax]
mov rcx, rbx
call fcn.180269800
mov qword [r14], rax
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r8, rbx
lea rdx, [rbp + 0x110]
mov rcx, qword [r14]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov rbx, rdi
mov ecx, dword [rbp + 0x258]
jmp 0x18024811a
mov ecx, dword [rbp + 0x258]
sub ecx, edi
mov dword [rbp + 0x258], ecx
movsxd rax, ecx
cmp rbx, rax
jae 0x180248289
lea r13, [rbx*8]
sub r13, r15
add r13, r14
mov r12d, 0x3e8
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
lea rsi, [rdi + rax]
cmp rsi, r12
cmova rsi, r12
mov rcx, rsi
call fcn.180269800
mov r12, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], ax
jne 0x18024817f
lea rcx, [rbp - 0x10]
call fcn.18007b5dc
nop
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
setae dl
cmovae rcx, qword [rbp - 0x10]
mov rax, qword [rbp]
lea r8, [rcx + rax*2]
lea rax, [rbp - 0x10]
xor ecx, ecx
test dl, dl
cmovne rax, qword [rbp - 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov r9d, ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
cmp rax, r8
jne 0x1802481dc
lea eax, [rcx + 0xf]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x70], cl
jmp 0x1802481f9
mov r9, r8
sub r9, rax
sar r9, 1
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18007dc1c
mov rax, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
lea r8, [rbp - 0x70]
cmp rax, 0x10
cmovae r8, qword [rbp - 0x70]
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov qword [r15 + r13], r12
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180248251
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18024824c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180248304
call fcn.180269534
xor r12d, r12d
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r12b
lea rcx, [rbp - 0x10]
call fcn.18007a444
add rbx, rdi
add r15, 8
movsxd rcx, dword [rbp + 0x258]
cmp rbx, rcx
jb 0x180248134
lea r13d, [r12 + 0xf]
mov rdx, r14
call fcn.180247654
mov esi, eax
xor ecx, ecx
call fcn.18014e6c4
mov rbx, r12
movsxd rcx, dword [rbp + 0x258]
test rcx, rcx
je 0x1802482c1
mov rcx, qword [r14 + rbx*8]
call fcn.180269534
add rbx, rdi
movsxd rcx, dword [rbp + 0x258]
cmp rbx, rcx
jb 0x1802482a9
mov rcx, r14
call fcn.180269534
nop
mov rdx, qword [rbp - 0x18]
mov ebx, 0x1000
cmp rdx, 0x10
jb 0x180248310
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x18024830b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024830b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180269534
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
lea rcx, [rbp + 0x10]
call fcn.18007a444
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x180248363
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x18024835e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024835e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r13
mov byte [rbp + 0x70], r12b
lea rcx, [rsp + 0x60]
call fcn.18007a444
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1802483ba
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, rbx
jb 0x1802483b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802483b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov eax, esi
jmp 0x180248451
mov rdx, qword [rsp + 0x78]
cmp rdx, rsi
jb 0x180248401
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r14
jb 0x1802483fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802483fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18024844f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, r14
jb 0x18024844a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18024844a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
xor eax, eax
mov rbx, qword [rsp + 0x350]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800949f4
nop
int3
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1801aaa20
test al, al
je 0x180248493
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x180247874
mov eax, 1
add rsp, 0x20
pop rbx
ret