Function at 0x140002ad0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rbx, rdx
cmp ecx, 6
jge 0x140002bd4
lea rdx, str.usage:__host:port___login___password___action__input.csv
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
mov rcx, rax
lea rdx, [0x140004bb0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._______where__action__supported_values_are:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
mov rcx, rax
lea rdx, [0x140004bb0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._____________zb___zero_balance__CSV_format:_login_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
mov rcx, rax
lea rdx, [0x140004bb0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._____________gc___grant_credit__CSV_format:_login_amount_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
mov rcx, rax
lea rdx, [0x140004bb0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str._____________rm___remove_transaction_fix_balance__CSV_format:_login_deal_id_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
mov rcx, rax
lea rdx, [0x140004bb0]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x140003611
mov rdx, qword [rdx + 8]
lea rcx, [rbp - 0x10]
call fcn.1400043a0
nop
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400043a0
nop
mov rdx, qword [rbx + 0x18]
lea rcx, [rbp - 0x50]
call fcn.1400043a0
nop
mov rdx, qword [rbx + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400043a0
nop
mov rdx, qword [rbx + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1400043a0
nop
lea rcx, str.MT5APIManager64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14000f450], rax
xor r13d, r13d
test rax, rax
je 0x140003411
lea rdx, str.MTManagerVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000f458], rax
lea rdx, str.MTManagerCreateExt
mov rcx, qword [0x14000f450]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000f470], rax
test rax, rax
jne 0x140002c8d
lea rdx, str.MTManagerCreate
mov rcx, qword [0x14000f450]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000f460], rax
lea rdx, str.MTAdminCreateExt
mov rcx, qword [0x14000f450]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000f478], rax
test rax, rax
jne 0x140002ccf
lea rdx, str.MTAdminCreate
mov rcx, qword [0x14000f450]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14000f468], rax
mov rax, qword [0x14000f478]
cmp qword [0x14000f458], r13
je 0x1400033d5
mov r9, qword [0x14000f470]
test r9, r9
je 0x1400033d5
test rax, rax
je 0x1400033d5
cmp qword [0x14000f450], r13
je 0x14000338b
lea r8, [0x14000f418]
xor edx, edx
mov ecx, 0xeda
call r9
mov edx, eax
test eax, eax
jne 0x140003390
lea rdi, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rdi, qword [rbp - 0x10]
lea rsi, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rsi, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r14, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rbx, qword [rbp - 0x30]
mov dword [rax], r13d
mov r8d, 0xa
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoull]
mov r8, rax
cmp rbx, qword [rsp + 0x68]
jne 0x140002d7f
lea rcx, str.invalid_stoull_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [r14], 0x22
jne 0x140002d93
lea rcx, str.stoull_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov rcx, qword [0x14000f418]
mov rax, qword [rcx]
mov dword [rsp + 0x30], 0x3a98
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
mov r9, rsi
mov rdx, rdi
call qword [rax + 0x28]
test eax, eax
je 0x140002e0b
mov ecx, r13d
lea rdi, [0x14000e0c0]
mov rdx, rdi
cmp dword [rdx], eax
je 0x140002df5
inc ecx
add rdx, 0x10
cmp ecx, 0xac
jb 0x140002dd0
lea rsi, str.Unknown_error
lea rdx, str.failed_to_connect_manager
jmp 0x14000344a
mov eax, ecx
add rax, rax
mov rsi, qword [rdi + rax*8 + 8]
lea rdx, str.failed_to_connect_manager
jmp 0x14000344a
lea r9, [rbp - 0x70]
mov r10, qword [rbp - 0x70]
mov r11, qword [rbp - 0x58]
cmp r11, 7
cmova r9, r10
mov rdx, qword [rbp - 0x60]
cmp rdx, 2
jne 0x140002f66
mov r8, rdx
lea rcx, [0x14000a654]
test rdx, rdx
je 0x140002e58
sub r9, rcx
nop
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x140002f66
add rcx, 2
sub r8, 1
jne 0x140002e40
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], 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 r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x7f
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x10]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140002ed0
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140004d00
nop
lea rcx, [rsp + 0x40]
call fcn.1400013a0
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002f38
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
test bl, bl
jne 0x140002f54
lea rdx, str.failed_to_load_input_file
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
jmp 0x140003462
call fcn.140002480
test al, al
jne 0x14000334d
jmp 0x140003472
lea r9, [rbp - 0x70]
cmp r11, 7
cmova r9, r10
cmp rdx, 2
jne 0x14000320f
mov r8, rdx
lea rcx, [0x14000a67c]
test rdx, rdx
je 0x140002fa8
sub r9, rcx
nop
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x14000320f
add rcx, 2
sub r8, 1
jne 0x140002f90
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], 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 r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x7f
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x10]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140003020
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140004d00
nop
lea rcx, [rsp + 0x40]
call fcn.140001700
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140003088
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003083
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003083
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
test bl, bl
je 0x140002f3c
lea rcx, str.running_grant_credit.._n
call fcn.140001060
mov rcx, qword [0x14000f418]
mov rax, qword [rcx]
call qword [rax + 0x258]
mov rbx, rax
mov qword [rsp + 0x60], rax
mov r12, qword [0x14000f488]
mov r14, qword [0x14000f480]
cmp r14, r12
je 0x1400031ef
lea rdi, [0x14000e0c0]
lea rsi, str.Unknown_error
movsd xmm7, qword [0x14000a7e0]
movups xmm6, xmmword [r14]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [0x14000f418]
mov rax, qword [rcx]
mov r8, rbx
movq r15, xmm6
mov rdx, r15
call qword [rax + 0x298]
test eax, eax
je 0x14000315a
mov ecx, r13d
mov rdx, rdi
cmp dword [rdx], eax
je 0x14000313c
inc ecx
add rdx, 0x10
cmp ecx, 0xac
jb 0x140003113
mov r8, rsi
mov rdx, r15
lea rcx, str._I64d:_failed_to_process_account____s__n
call fcn.140001060
jmp 0x1400031e2
mov eax, ecx
add rax, rax
mov r8, qword [rdi + rax*8 + 8]
mov rdx, r15
lea rcx, str._I64d:_failed_to_process_account____s__n
call fcn.140001060
jmp 0x1400031e2
mov qword [rsp + 0x68], r13
mov rcx, qword [0x14000f418]
mov rax, qword [rcx]
unpckhpd xmm6, xmm6
movaps xmm2, xmm6
andps xmm2, xmm7
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
lea rdx, str.Negative_Credit_Removal
mov qword [rsp + 0x20], rdx
mov r9d, 3
mov rdx, r15
call qword [rax + 0x608]
mov ecx, r13d
mov rdx, rdi
nop
cmp dword [rdx], eax
je 0x1400031b7
inc ecx
add rdx, 0x10
cmp ecx, 0xac
jb 0x1400031a0
mov rax, rsi
jmp 0x1400031c1
mov eax, ecx
add rax, rax
mov rax, qword [rdi + rax*8 + 8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
movaps xmm2, xmm6
movq r8, xmm6
mov rdx, r15
lea rcx, str._I64d:_credit_granted___credit:__.02f__deal:__I64d_____s__n
call fcn.140001060
add r14, 0x10
cmp r14, r12
jne 0x1400030e1
lea rcx, str.done_grant_credit_n
call fcn.140001060
nop
test rbx, rbx
je 0x14000320a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
jmp 0x14000334d
lea r8, [rbp - 0x70]
cmp r11, 7
cmova r8, r10
cmp rdx, 2
jne 0x14000336e
lea rcx, [0x14000a684]
test rdx, rdx
je 0x140003258
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14000336e
add rcx, 2
sub rdx, 1
jne 0x140003240
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], 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 r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova r8, qword [rsp + 0x70]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x7f
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x10]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x1400032d0
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140004d00
nop
lea rcx, [rsp + 0x40]
call fcn.140001dc0
movzx ebx, al
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140003338
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003333
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003333
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
test bl, bl
je 0x140002f3c
call fcn.140002780
test al, al
je 0x140003472
mov rcx, qword [0x14000f418]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [0x14000f418]
mov rax, qword [rcx]
call qword [rax]
mov ebx, r13d
jmp 0x140003477
lea rdx, [rbp - 0x70]
cmp r11, 7
cmova rdx, r10
lea rcx, str.unsupported__action_____s__n
call fcn.140001060
jmp 0x140003472
mov edx, 2
mov eax, r13d
lea rdi, [0x14000e0c0]
mov rcx, rdi
nop dword [rax]
cmp dword [rcx], edx
je 0x1400033c4
inc eax
add rcx, 0x10
cmp eax, 0xac
jb 0x1400033a0
lea rsi, str.Unknown_error
lea rdx, str.failed_to_create_manager
jmp 0x14000344a
add rax, rax
mov rsi, qword [rdi + rax*8 + 8]
lea rdx, str.failed_to_create_manager
jmp 0x14000344a
mov rcx, qword [0x14000f450]
test rcx, rcx
je 0x1400033ee
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14000f450], r13
mov qword [0x14000f458], r13
mov qword [0x14000f460], r13
mov qword [0x14000f468], r13
mov qword [0x14000f470], r13
mov qword [0x14000f478], r13
mov eax, r13d
lea rdi, [0x14000e0c0]
mov rcx, rdi
nop
cmp dword [rcx], 0xd
je 0x14000343b
inc eax
add rcx, 0x10
cmp eax, 0xac
jb 0x140003420
lea rsi, str.Unknown_error
jmp 0x140003443
add rax, rax
mov rsi, qword [rdi + rax*8 + 8]
lea rdx, str.failed_to_init_factory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400049e0
mov rdx, rsi
mov rcx, rax
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__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140004bb0]
mov rcx, rax
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400034bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
movdqa xmm0, xmmword [0x14000a7d0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r13w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140003511
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000350c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000350c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140003565
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003560
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003560
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
movdqa xmm0, xmmword [0x14000a7d0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1400035ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400035b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
movdqa xmm0, xmmword [0x14000a7d0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000360f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000360a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000360a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000598c
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1400056f0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret