Function at 0x180050ed0
Capabilities:
Create http request
Get http content length
Read .ini file
Read data from internet
Receive data
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x180073010]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov r14, rdx
mov qword [rbp + 0xc8], rdx
lea rbx, str.C:ShenqiD_verify.ini
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x230]
xor r8d, r8d
lea rdx, str.softkey2
lea rcx, str.Meume
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x120]
xor r8d, r8d
lea rdx, str.varkey
lea rcx, str.Meume
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x340]
xor r8d, r8d
lea rdx, str.mackey
lea rcx, str.Meume
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x450]
xor r8d, r8d
lea rdx, str.card
lea rcx, str.Meume
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor r15d, r15d
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], r15b
lea rax, [rbp + 0x120]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180050ff0
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x40]
call fcn.18000a620
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
lea rax, [rbp + 0x230]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180051030
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x60]
call fcn.18000a620
nop
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea rax, [rbp + 0x340]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180051070
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x58]
call fcn.18000a620
nop
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
lea rax, [rbp + 0x450]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800510b0
mov r8, rbx
lea rdx, [rbp + 0x450]
lea rcx, [rsp + 0x78]
call fcn.18000a620
nop
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov rdi, qword [r14 + 0x10]
mov rsi, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1800510ee
mov rsi, qword [r14]
cmp rdi, 0x10
jae 0x180051107
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x50], 0xf
jmp 0x180051186
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18005115e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180051ca5
mov rcx, rax
call fcn.18005a370
mov rcx, rax
test rax, rax
je 0x180051157
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18005116d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x18005116a
call fcn.18005a370
jmp 0x18005116d
mov rax, r15
mov qword [rsp + 0x38], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rdi
mov r8d, 6
lea rdx, str._card
lea rcx, [rsp + 0x38]
call fcn.18000a780
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x40]
call fcn.18000dd20
nop
mov r8d, 5
lea rdx, str.mac
lea rcx, [rbp + 0x40]
call fcn.18000a780
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x58]
lea r8, [rbp + 0xa0]
lea rcx, [rbp + 0x20]
call fcn.18000dd20
nop
mov r8d, 6
lea rdx, str.soft
lea rcx, [rbp + 0x20]
call fcn.18000a780
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp - 0x60]
lea r8, [rbp + 0x80]
lea rcx, [rbp]
call fcn.18000dd20
nop
mov r8d, 5
lea rdx, str.Var
lea rcx, [rbp]
call fcn.18000a780
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rbp - 0x40]
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xf8]
call fcn.18000dd20
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1800512fa
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800512f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800512f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180051338
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051333
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051333
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x18005138d
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1800513cb
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800513c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800513c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x180051420
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005141a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005141a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x18005145e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051459
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1800514ad
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800514a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800514a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1800514ed
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800514e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800514e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180051540
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005153a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005153a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180051581
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005157b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005157b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x1800515c0
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800515ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800515ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800515fe
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800515f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800515f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
lea rbx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0x10
cmovae rbx, qword [rbp + 0xf8]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.HTTPREAD
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x180051648
lea rcx, [0x180065f90]
call fcn.180050970
jmp 0x18005175b
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000002
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x180051680
lea rcx, [0x180065fa8]
call fcn.180050970
jmp 0x180051752
mov dword [rbp + 0xc0], r15d
mov dword [rbp + 0xf4], 4
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xf4]
lea r8, [rbp + 0xc0]
mov edx, 0x20000005
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x1800516c7
lea rcx, [0x180065fc0]
call fcn.180050970
jmp 0x180051749
mov ecx, dword [rbp + 0xc0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1800516e9
lea rcx, [0x180065fd8]
call fcn.180050970
jmp 0x180051749
mov dword [rbp + 0xf0], r15d
lea r9, [rbp + 0xf0]
mov r8d, dword [rbp + 0xc0]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180051734
mov eax, dword [rbp + 0xc0]
cmp dword [rbp + 0xf0], eax
jne 0x180051734
mov qword [rbp - 0x68], rax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x18005175e
lea rcx, [0x180065ff0]
call fcn.180050970
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, r15
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rbx, qword [rbp - 0x68]
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.18000a620
nop
test rbx, rbx
je 0x180051c93
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rcx, qword [rbp + 0xd0]
mov qword [rsp + 0x20], 0xa
lea r9, str._title_404
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
call fcn.180052150
cmp rax, 0xffffffffffffffff
jne 0x180051c93
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
lea r8d, [rax + 4]
lea rdx, [0x180066040]
lea rcx, [rsp + 0x78]
call fcn.18000a620
nop
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov r8d, 9
lea rdx, str._data_:_
lea rcx, [rsp + 0x58]
call fcn.18000a620
nop
lea r9, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
setae byte [rsp + 0x31]
mov rsi, qword [rsp + 0x58]
cmovae r9, rsi
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
setae byte [rsp + 0x30]
mov r12, qword [rbp + 0xd0]
cmovae rcx, r12
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r15, qword [rbp + 0xe0]
mov rdx, r15
call fcn.180052150
mov rdi, rax
mov r13, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
jne 0x1800518c5
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
lea rdx, [0x18005ea78]
mov r8d, r12d
jmp 0x180051966
add rdi, qword [rsp + 0x68]
lea r9, [rsp + 0x78]
cmp r13, 0x10
cmovae r9, rbx
lea rcx, [rbp + 0xd0]
cmp byte [rsp + 0x30], 0
cmovne rcx, r12
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, r15
call fcn.180052150
mov r8, rax
cmp rax, 0xffffffffffffffff
jne 0x180051926
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
lea rdx, [0x18005ea78]
mov r8d, r12d
jmp 0x180051966
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xf
cmp r15, rdi
jb 0x180051c9f
sub r8, rdi
sub r15, rdi
cmp r15, r8
cmovb r8, r15
lea rdx, [rbp + 0xd0]
cmp byte [rsp + 0x30], al
cmovne rdx, r12
add rdx, rdi
xor r12d, r12d
lea rcx, [rsp + 0x38]
call fcn.18000a620
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x1800519b4
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800519af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800519af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0xe0], xmm1
cmp byte [rsp + 0x31], 0
je 0x180051a0c
mov rdx, qword [rsp + 0x70]
inc rdx
mov rax, rsi
cmp rdx, 0x1000
jb 0x180051a03
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051a03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.18005a734
nop
cmp r13, 0x10
jb 0x180051a46
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180051a3e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051a3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18005a734
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x20]
call fcn.180050cf0
mov rbx, rax
lea rax, [rbp + 0xd0]
cmp rax, rbx
je 0x180051ae0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x180051aa2
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051a9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051b12
call fcn.18005a734
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180051b1e
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051b19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051b19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
lea rcx, [rbp + 0xd0]
mov rsi, qword [rbp + 0xe8]
cmp rsi, 0x10
setae bl
mov rdi, qword [rbp + 0xd0]
cmovae rcx, rdi
mov qword [rsp + 0x20], 4
lea r9, str.2000
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
call fcn.180052150
test rax, rax
setne r15b
test bl, bl
je 0x180051b9c
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180051b94
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051b94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18005a734
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x180051bf9
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180051bf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180051bf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005a734
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], 0xf
mov byte [rbp + 0xf8], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x180051c48
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x180051c43
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180051c8c
mov rcx, r8
call fcn.18005a734
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
movzx eax, r15b
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.18005a350
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x30]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.18000ad60
nop
call fcn.1800011f0
int3