Function at 0x140018730
Capabilities:
Contain obfuscated stackstrings
Delete file
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x660], rbx
mov rax, qword [0x14004f018]
xor rax, rsp
mov qword [rbp + 0x510], rax
mov qword [rsp + 0x50], r9
mov r13, r8
mov rbx, rdx
mov qword [rsp + 0x60], rdx
mov rcx, rdx
call fcn.140002a60
test al, al
jne 0x140019c5f
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
cmp rax, rdx
je 0x140019c5f
xor edi, edi
mov ecx, edi
sub rdx, rax
sar rdx, 7
test rdx, rdx
je 0x140019c5f
add rax, 0x7c
cmp byte [rax], dil
jne 0x1400187cb
inc rcx
sub rax, 0xffffffffffffff80
cmp rcx, rdx
jb 0x1400187b5
jmp 0x140019c5f
mov r8, rbx
lea rdx, [rbp + 0x3f0]
call fcn.14001ac00
nop
xor eax, eax
mov qword [rbp + 0x360], rax
mov qword [rbp + 0x368], rax
mov qword [rbp + 0x360], rdi
mov word [rbp + 0x368], ax
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x360]
call fcn.1400082d0
xor eax, eax
mov qword [rbp + 0x3c0], rax
mov qword [rbp + 0x3c8], rax
lea rax, [rbp + 0x360]
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x3c8], 0
mov rcx, qword [rbp + 0x360]
test rcx, rcx
jne 0x140018842
xor sil, sil
jmp 0x140018863
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140018859
xor sil, sil
jmp 0x140018863
mov byte [rbp + 0x368], 1
mov sil, 1
mov byte [rsp + 0x40], sil
mov byte [rbp + 0x3c8], sil
xor eax, eax
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x378], rax
mov qword [rbp + 0x380], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x370], xmm0
mov qword [rbp + 0x380], rdi
mov byte [rsp + 0x41], al
lea r9, [rsp + 0x41]
lea r8, [rbp + 0x370]
mov rdx, rbx
call fcn.140019ca0
test al, al
jne 0x1400188cb
cmp byte [rsp + 0x41], al
je 0x1400188cb
mov rcx, rbx
call fcn.140002a6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
mov byte [rsp + 0x41], bl
xor edx, edx
mov r12d, edx
mov rcx, qword [r13]
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 7
test rax, rax
je 0x140019b64
mov r15d, edx
lea r14, [rcx + r15]
cmp byte [r14 + 0x7c], 0
je 0x140018c13
mov rsi, rdx
mov edi, edx
mov rax, qword [rbp + 0x378]
mov rcx, qword [rbp + 0x370]
sub rax, rcx
sar rax, 7
test rax, rax
je 0x14001897c
mov rbx, rdx
nop dword [rax]
nop word [rax + rax]
shl rbx, 7
add rbx, rcx
mov rcx, r14
call fcn.140002a6c
mov rdx, rax
mov rcx, rbx
call fcn.140002a6c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140018977
inc edi
mov ebx, edi
mov rax, qword [rbp + 0x378]
mov rcx, qword [rbp + 0x370]
sub rax, rcx
sar rax, 7
cmp rbx, rax
jb 0x140018930
jmp 0x14001897a
mov rsi, rbx
xor edx, edx
test rsi, rsi
jne 0x140018abe
lea rcx, [rbp + 0x410]
call fcn.140002d0c
nop
lea rcx, [rbp + 0x430]
call fcn.140002d0c
nop
lea rcx, [rbp + 0x450]
call fcn.140002d0c
nop
mov qword [rbp + 0x470], rdx
mov qword [rbp + 0x478], rdx
mov qword [rbp + 0x480], rdx
mov dword [rbp + 0x488], edx
mov byte [rbp + 0x48c], sil
mov rdx, qword [rbp + 0x378]
cmp qword [rbp + 0x380], rdx
je 0x140018a69
call fcn.1400029a0
mov rbx, rax
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x410]
mov rcx, rax
call fcn.140002d24
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x430]
call fcn.140002d24
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x450]
call fcn.140002d24
nop
mov rax, qword [rbp + 0x470]
mov qword [rbx + 0x60], rax
mov rax, qword [rbp + 0x478]
mov qword [rbx + 0x68], rax
mov rax, qword [rbp + 0x480]
mov qword [rbx + 0x70], rax
mov eax, dword [rbp + 0x488]
mov dword [rbx + 0x78], eax
movzx eax, byte [rbp + 0x48c]
mov byte [rbx + 0x7c], al
mov rcx, qword [rbp + 0x378]
sub rcx, 0xffffffffffffff80
mov qword [rbp + 0x378], rcx
jmp 0x140018a83
lea r8, [rbp + 0x410]
lea rcx, [rbp + 0x370]
call fcn.14001bd60
mov rcx, qword [rbp + 0x378]
mov rax, qword [rbp + 0x370]
sub rcx, rax
and rcx, 0xffffffffffffff80
lea rsi, [rax - 0x80]
add rsi, rcx
lea rcx, [rbp + 0x450]
call fcn.140002b70
nop
lea rcx, [rbp + 0x430]
call fcn.140002b70
nop
lea rcx, [rbp + 0x410]
call fcn.140002b70
mov rdx, rsi
lea rcx, [rbp + 0x490]
call fcn.140002d24
nop
lea rbx, [rsi + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x4b0]
call fcn.140002d24
nop
lea rdx, [rsi + 0x40]
lea rcx, [rbp + 0x4d0]
call fcn.140002d24
nop
mov rax, qword [rsi + 0x60]
mov qword [rbp + 0x4f0], rax
mov rax, qword [rsi + 0x68]
mov qword [rbp + 0x4f8], rax
mov rax, qword [rsi + 0x70]
mov qword [rbp + 0x500], rax
mov eax, dword [rsi + 0x78]
mov dword [rbp + 0x508], eax
movzx eax, byte [rsi + 0x7c]
mov byte [rbp + 0x50c], al
mov rdx, r14
mov rcx, rsi
call fcn.140002afc
lea rdx, [r14 + 0x20]
mov rcx, rbx
call fcn.140002afc
lea rdx, [r14 + 0x40]
lea rcx, [rsi + 0x40]
call fcn.140002afc
mov r10, qword [r14 + 0x60]
mov qword [rsi + 0x60], r10
mov r11, qword [r14 + 0x68]
mov qword [rsi + 0x68], r11
mov rdi, qword [r14 + 0x70]
mov qword [rsi + 0x70], rdi
mov eax, dword [r14 + 0x78]
mov dword [rsp + 0x58], eax
mov dword [rsi + 0x78], eax
movzx eax, byte [r14 + 0x7c]
mov byte [rsi + 0x7c], al
lea rdx, [rbp + 0x490]
mov rcx, rsi
call fcn.1400042e0
test al, al
je 0x140018bd7
lea rdx, [rbp + 0x4b0]
mov rcx, rbx
call fcn.1400042e0
test al, al
je 0x140018bd7
cmp r10, qword [rbp + 0x4f0]
jne 0x140018bd7
cmp r11, qword [rbp + 0x4f8]
jne 0x140018bd7
cmp rdi, qword [rbp + 0x500]
jne 0x140018bd7
lea rdx, [rbp + 0x4d0]
lea rcx, [rsi + 0x40]
call fcn.1400042e0
test al, al
je 0x140018bd7
mov eax, dword [rsp + 0x58]
cmp eax, dword [rbp + 0x508]
je 0x140018be2
mov bl, 1
mov byte [rsp + 0x41], bl
mov byte [rsi + 0x7c], bl
jmp 0x140018be7
movzx ebx, byte [rsp + 0x41]
lea rcx, [rbp + 0x4d0]
call fcn.140002b70
nop
lea rcx, [rbp + 0x4b0]
call fcn.140002b70
nop
lea rcx, [rbp + 0x490]
call fcn.140002b70
mov rcx, qword [r13]
xor edx, edx
inc r12
sub r15, 0xffffffffffffff80
mov rax, qword [r13 + 8]
sub rax, rcx
sar rax, 7
cmp r12, rax
jb 0x1400188f1
test bl, bl
je 0x140019b5f
mov rax, qword [rbp + 0x378]
cmp qword [rbp + 0x370], rax
je 0x140019b5f
xor eax, eax
mov qword [rbp + 0x388], rax
mov qword [rbp + 0x390], rax
mov qword [rbp + 0x398], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
xor r15d, r15d
mov qword [rbp + 0x398], r15
mov r9, qword [rbp + 0x378]
mov r10, r9
mov r8, qword [rbp + 0x370]
sub r10, r8
sar r10, 7
mov rcx, qword [rbp + 0x398]
sub rcx, qword [rbp + 0x388]
movabs rdi, 0x20c49ba5e353f7cf
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jbe 0x140018d0d
movabs rax, 0x4189374bc6a7ef
mov qword [rsp + 0x58], rax
call fcn.1400029a4
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.140002ff0
cmp r10, qword [rax]
ja 0x140019c8b
mov rdx, r10
lea rcx, [rbp + 0x388]
call fcn.14001b460
mov r9, qword [rbp + 0x378]
mov r8, qword [rbp + 0x370]
mov r13, r15
mov rax, r9
sub rax, r8
sar rax, 7
test rax, rax
je 0x140019069
mov r12, r15
nop word [rax + rax]
lea rsi, [r8 + r12]
mov eax, dword [rsi + 0x78]
dec eax
cmp eax, 2
ja 0x14001904f
mov dword [rsp + 0x70], r15d
mov qword [rbp + 0x33c], r15
mov qword [rbp + 0x344], r15
mov qword [rbp + 0x34c], r15
mov dword [rbp + 0x354], r15d
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x1f4]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp + 0x2f4], rax
mov qword [rbp + 0x2fc], rax
mov qword [rbp + 0x304], rax
mov qword [rbp + 0x30c], rax
mov qword [rbp + 0x314], rax
mov qword [rbp + 0x31c], rax
mov qword [rbp + 0x324], rax
mov qword [rbp + 0x32c], rax
mov qword [rbp + 0x334], rax
mov rdx, qword [rbp + 0x390]
cmp qword [rbp + 0x398], rdx
je 0x140018e8f
call fcn.1400029a0
mov rdx, rax
lea rcx, [rsp + 0x70]
mov eax, 7
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rax, 1
jne 0x140018df0
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
mov rax, qword [rcx + 0x60]
mov qword [rdx + 0x60], rax
mov rdx, qword [rbp + 0x390]
add rdx, 0x3e8
mov qword [rbp + 0x390], rdx
jmp 0x140018ea7
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x388]
call fcn.14001bae0
mov rdx, qword [rbp + 0x390]
mov rcx, qword [rbp + 0x388]
sub rdx, rcx
mov rax, rdi
imul rdx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3e8
lea r15, [rcx - 0x3e8]
add r15, rax
mov dword [r15], 0x23ab45db
lea rdi, [r15 + 4]
xor edx, edx
mov r8d, 0x280
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea r14, [r15 + 0x284]
xor edx, edx
mov r8d, 0x100
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rbx, [r15 + 0x384]
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov rcx, rsi
call fcn.140002e74
cmp rax, 0x13f
ja 0x140018f62
call fcn.140002a6c
sub rdi, rax
nop dword [rax]
movzx ecx, word [rax]
mov word [rdi + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140018f50
jmp 0x140018f79
call fcn.140002a6c
mov rdx, rax
mov r8d, 0x13e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsi + 0x20]
call fcn.140002e74
cmp rax, 0x7f
ja 0x140018fa3
call fcn.140002a6c
sub r14, rax
movzx ecx, word [rax]
mov word [r14 + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140018f90
jmp 0x140018fba
call fcn.140002a6c
mov rdx, rax
mov r8d, 0x7e
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsi + 0x40]
call fcn.140002e74
cmp rax, 0x23
ja 0x140018ff2
call fcn.140002a6c
sub rbx, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rax + rbx], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140018fe0
jmp 0x140019009
call fcn.140002a6c
mov rdx, rax
mov r8d, 0x23
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rax, qword [rsi + 0x60]
mov qword [r15 + 0x3cc], rax
mov rax, qword [rsi + 0x68]
mov qword [r15 + 0x3d4], rax
mov rax, qword [rsi + 0x70]
mov qword [r15 + 0x3dc], rax
mov eax, dword [rsi + 0x78]
mov dword [r15 + 0x3e4], eax
mov r9, qword [rbp + 0x378]
mov r8, qword [rbp + 0x370]
xor r15d, r15d
movabs rdi, 0x20c49ba5e353f7cf
inc r13
sub r12, 0xffffffffffffff80
mov rax, r9
sub rax, r8
sar rax, 7
cmp r13, rax
jb 0x140018d30
mov rcx, qword [rbp + 0x390]
cmp qword [rbp + 0x388], rcx
jne 0x1400191db
mov r8, qword [rbp + 0x388]
test r8, r8
je 0x1400190f0
mov rcx, qword [rbp + 0x398]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x1400190d6
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400190d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov rbx, qword [rbp + 0x370]
test rbx, rbx
je 0x140019192
mov rdi, qword [rbp + 0x378]
mov qword [rsp + 0x48], rbx
cmp rbx, rdi
je 0x140019142
lea rcx, [rbx + 0x40]
call fcn.140002b70
nop
lea rcx, [rbx + 0x20]
call fcn.140002b70
nop
mov rcx, rbx
call fcn.140002b70
sub rbx, 0xffffffffffffff80
mov qword [rsp + 0x48], rbx
cmp rbx, rdi
jne 0x140019111
mov rbx, qword [rbp + 0x370]
mov rdx, qword [rbp + 0x380]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019178
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x370], xmm0
mov qword [rbp + 0x380], r15
cmp byte [rsp + 0x40], 0
je 0x1400191b2
mov rcx, qword [rbp + 0x360]
test rcx, rcx
je 0x1400191ab
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x368], 0
mov qword [rbp + 0x3c0], r15
mov rcx, qword [rbp + 0x360]
test rcx, rcx
je 0x140019c4a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x360], r15
jmp 0x140019c4a
xor eax, eax
mov qword [rbp + 0x3a0], rax
mov qword [rbp + 0x3a8], rax
mov qword [rbp + 0x3b0], rax
mov r8, r15
mov qword [rbp + 0x3a0], r15
mov qword [rbp + 0x3a8], r15
mov r9, r15
mov qword [rbp + 0x3b0], r15
mov dword [rbp + 0x3d0], 0x2d2d4352
mov dword [rbp + 0x3d4], 0x35343332
mov dword [rbp + 0x3d8], 0x61534350
mov dword [rbp + 0x3dc], 0x2d302e32
mov dword [rbp + 0x3e0], 0x2d736843
mov dword [rbp + 0x3e4], 0x61435243
mov dword [rbp + 0x3e8], 0x38313031
mov dword [rbp + 0x3ec], 0x35313032
movdqa xmm2, xmmword [0x14003fa80]
mov eax, r15d
mov ecx, 1
movd xmm3, ecx
lea rcx, [rbp + 0x3d0]
nop dword [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x140019280
mov rcx, qword [rbp + 0x390]
mov r10, qword [rbp + 0x388]
sub rcx, r10
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test r10, r10
je 0x140019a0b
imul r8d, edx, 0x3e8
lea r9, [rbp + 0x3a0]
mov rdx, r10
lea rcx, [rbp + 0x3d0]
call fcn.14001ea10
test al, al
je 0x1400199fd
mov rbx, qword [rbp + 0x3a0]
mov rsi, qword [rbp + 0x3a8]
cmp rbx, rsi
jne 0x14001946f
test rbx, rbx
je 0x140019364
mov rdx, qword [rbp + 0x3b0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001934a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001934a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3a0], xmm0
mov qword [rbp + 0x3b0], r15
mov r8, qword [rbp + 0x388]
test r8, r8
je 0x1400193d7
mov rcx, qword [rbp + 0x398]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x1400193bd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400193bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov rbx, qword [rbp + 0x370]
test rbx, rbx
je 0x140019192
mov rdi, qword [rbp + 0x378]
mov qword [rsp + 0x48], rbx
cmp rbx, rdi
je 0x140019431
nop dword [rax + rax]
lea rcx, [rbx + 0x40]
call fcn.140002b70
nop
lea rcx, [rbx + 0x20]
call fcn.140002b70
nop
mov rcx, rbx
call fcn.140002b70
sub rbx, 0xffffffffffffff80
mov qword [rsp + 0x48], rbx
cmp rbx, rdi
jne 0x140019400
mov rbx, qword [rbp + 0x370]
mov rdx, qword [rbp + 0x380]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019178
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r14, qword [rsp + 0x60]
mov rcx, r14
call fcn.140002a6c
mov rcx, rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r8d, r8d
mov edx, 0x40000000
call fcn.140008070
mov rdi, rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14001951a
lea rdx, [0x14003e4c8]
mov rcx, r14
call fcn.140004790
cmp rax, 0xffffffffffffffff
je 0x14001951a
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x3d0]
mov rcx, r14
call fcn.140003df0
nop
lea rcx, [rbp + 0x3d0]
call fcn.140006df0
mov rcx, r14
call fcn.140002a6c
mov rcx, rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r8d, r8d
mov edx, 0x40000000
call fcn.140008070
mov rdi, rax
lea rcx, [rbp + 0x3d0]
call fcn.140002b70
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400198d1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp + 0x3b8], r15d
mov r8d, esi
sub r8d, ebx
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x3b8]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
sub rsi, rbx
mov eax, dword [rbp + 0x3b8]
cmp rax, rsi
jne 0x1400197a5
lea rax, [rbp + 0x370]
mov r9, qword [rsp + 0x50]
cmp r9, rax
je 0x1400195d3
mov rcx, qword [r9]
mov rax, qword [rbp + 0x370]
mov qword [r9], rax
mov qword [rbp + 0x370], rcx
mov rcx, qword [r9 + 8]
mov rax, qword [rbp + 0x378]
mov qword [r9 + 8], rax
mov qword [rbp + 0x378], rcx
mov rcx, qword [r9 + 0x10]
mov rax, qword [rbp + 0x380]
mov qword [r9 + 0x10], rax
mov qword [rbp + 0x380], rcx
mov r8, r15
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
sub rax, rcx
sar rax, 7
test rax, rax
je 0x140019612
mov rdx, r15
nop dword [rax]
mov byte [rdx + rcx + 0x7c], 0
inc r8
lea rdx, [rdx + 0x80]
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
sub rax, rcx
sar rax, 7
cmp r8, rax
jb 0x1400195f0
test rbx, rbx
je 0x140019663
mov rdx, qword [rbp + 0x3b0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019649
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019649
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3a0], xmm0
mov qword [rbp + 0x3b0], r15
mov r8, qword [rbp + 0x388]
test r8, r8
je 0x1400196dd
mov rcx, qword [rbp + 0x398]
sub rcx, r8
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x1400196c3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400196c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov rdx, qword [rbp + 0x370]
test rdx, rdx
je 0x140019749
mov r8, qword [rbp + 0x378]
call fcn.14001b5c0
mov rdx, qword [rbp + 0x380]
mov rcx, qword [rbp + 0x370]
sub rdx, rcx
and rdx, 0xffffffffffffff80
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019732
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019732
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x370], xmm0
mov qword [rbp + 0x380], r15
cmp byte [rsp + 0x40], 0
je 0x140019769
mov rcx, qword [rbp + 0x360]
test rcx, rcx
je 0x140019762
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x368], 0
mov qword [rbp + 0x3c0], r15
mov rcx, qword [rbp + 0x360]
test rcx, rcx
je 0x140019789
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x360], r15
mov word [rbp + 0x368], 0
lea rcx, [rbp + 0x3f0]
call fcn.140002b70
mov al, 1
jmp 0x140019c61
test rbx, rbx
je 0x1400197f6
mov rdx, qword [rbp + 0x3b0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400197dc
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400197dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3a0], xmm0
mov qword [rbp + 0x3b0], r15
mov r8, qword [rbp + 0x388]
test r8, r8
je 0x140019870
mov rcx, qword [rbp + 0x398]
sub rcx, r8
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x140019856
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019856
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov rdx, qword [rbp + 0x370]
test rdx, rdx
je 0x140019192
mov r8, qword [rbp + 0x378]
call fcn.14001b5c0
mov rdx, qword [rbp + 0x380]
mov rcx, qword [rbp + 0x370]
sub rdx, rcx
and rdx, 0xffffffffffffff80
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001917b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001917b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rbx, rbx
je 0x140019922
mov rdx, qword [rbp + 0x3b0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019908
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019908
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3a0], xmm0
mov qword [rbp + 0x3b0], r15
mov r8, qword [rbp + 0x388]
test r8, r8
je 0x14001999c
mov rcx, qword [rbp + 0x398]
sub rcx, r8
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x140019982
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019982
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov rcx, qword [rbp + 0x370]
test rcx, rcx
je 0x140019192
mov rdx, qword [rbp + 0x378]
call fcn.14001bf80
mov rdx, qword [rbp + 0x380]
mov rcx, qword [rbp + 0x370]
sub rdx, rcx
and rdx, 0xffffffffffffff80
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001917b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001917b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r9, qword [rbp + 0x3b0]
mov r8, qword [rbp + 0x3a0]
test r8, r8
je 0x140019a58
sub r9, r8
mov rax, r8
cmp r9, 0x1000
jb 0x140019a3b
add r9, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019a3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r9
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3a0], xmm0
mov qword [rbp + 0x3b0], r15
mov r8, qword [rbp + 0x388]
test r8, r8
je 0x140019acb
mov rcx, qword [rbp + 0x398]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x140019ab1
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019ab1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x388], xmm0
mov qword [rbp + 0x398], r15
mov rbx, qword [rbp + 0x370]
test rbx, rbx
je 0x140019192
mov rdi, qword [rbp + 0x378]
mov qword [rsp + 0x50], rbx
cmp rbx, rdi
je 0x140019b21
nop dword [rax]
lea rcx, [rbx + 0x40]
call fcn.140002b70
nop
lea rcx, [rbx + 0x20]
call fcn.140002b70
nop
mov rcx, rbx
call fcn.140002b70
sub rbx, 0xffffffffffffff80
mov qword [rsp + 0x50], rbx
cmp rbx, rdi
jne 0x140019af0
mov rbx, qword [rbp + 0x370]
mov rdx, qword [rbp + 0x380]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019178
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019178
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx esi, byte [rsp + 0x40]
mov rbx, qword [rbp + 0x370]
test rbx, rbx
je 0x140019c08
mov rdi, qword [rbp + 0x378]
mov qword [rsp + 0x50], rbx
cmp rbx, rdi
je 0x140019bb6
lea rcx, [rbx + 0x40]
call fcn.140002b70
nop
lea rcx, [rbx + 0x20]
call fcn.140002b70
nop
mov rcx, rbx
call fcn.140002b70
sub rbx, 0xffffffffffffff80
mov qword [rsp + 0x50], rbx
cmp rbx, rdi
jne 0x140019b85
mov rbx, qword [rbp + 0x370]
mov rdx, qword [rbp + 0x380]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x140019bec
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019bec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025dd4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x370], xmm0
xor edx, edx
mov qword [rbp + 0x380], rdx
test sil, sil
je 0x140019c28
mov rcx, qword [rbp + 0x360]
test rcx, rcx
je 0x140019c21
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor edx, edx
mov byte [rbp + 0x368], 0
mov qword [rbp + 0x3c0], rdx
mov rcx, qword [rbp + 0x360]
test rcx, rcx
je 0x140019c4a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov qword [rbp + 0x360], rdi
mov word [rbp + 0x368], 0
lea rcx, [rbp + 0x3f0]
call fcn.140002b70
xor al, al
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140025ac0
mov rbx, qword [rsp + 0x660]
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400042b0
nop
int3