Function at 0x1401fba40
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x158]
sub rsp, 0x258
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov dword [rsp + 0x3c], r9d
mov edi, r8d
mov dword [rsp + 0x58], r8d
mov r14, rdx
mov qword [rsp + 0x60], rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rdx
mov rax, qword [rbp + 0x1c8]
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov dword [rsp + 0x34], r12d
cmp qword [rdx + 0x18], 0x10
jb 0x1401fbaac
mov rdx, qword [rdx]
lea r8, [0x1402d67b4]
lea rcx, [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s
mov qword [rsp + 0x70], r12
mov qword [rsi], r12
mov qword [rsi + 0x18], SafeArrayLock
mov byte [rsi], 0
mov qword [rsi + 0x10], r12
mov byte [rsi], 0
mov dword [rsp + 0x34], 1
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1401fc4a0
mov r15d, r12d
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov ebx, eax
mov dword [rsp + 0x38], eax
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.140103db0
mov qword [rsp + 0x48], rax
mov edx, ebx
lea rcx, [rbp - 0x78]
call fcn.140103db0
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x12
jb 0x1401fbbdf
lea rax, [r8 + 0x12]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x1401fbb69
mov rbx, qword [rdi]
lea rax, [0x1402e6a32]
mov r13d, SafeArrayLock
lea r12, str.getMD5_totalsize:
cmp rax, rbx
jbe 0x1401fbb9d
lea rax, [rbx + r8]
cmp r12, rax
ja 0x1401fbb9d
cmp rbx, r12
ja 0x1401fbb95
xor r14d, r14d
jmp 0x1401fbba0
mov r14, rbx
sub r14, r12
jmp 0x1401fbba0
mov r14, r13
lea rcx, [rbx + 0x12]
inc r8
mov rdx, rbx
call fcn.140244220
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.140244220
lea rcx, [rbx + r14]
sub r13, r14
lea rdx, [r12 + 0x12]
add rdx, r14
mov r8, r13
call fcn.140244220
mov r14, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x38]
jmp 0x1401fbc0a
mov r13d, SafeArrayLock
mov qword [rsp + 0x28], r13
lea r12, str.getMD5_totalsize:
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, rdi
call fcn.1400e31f0
mov rdi, rax
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], SafeArrayLock
mov byte [rdi], r12b
mov dword [rsp + 0x34], 3
lea r8d, [r12 + 0xd]
lea rdx, str._start_size:
lea rcx, [rbp - 0x58]
call fcn.1400f8490
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], r12b
mov dword [rsp + 0x34], 7
mov r9, qword [rsp + 0x48]
lea r8, [rbp - 0x38]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp + 8]
call fcn.1400ea890
mov dword [rsp + 0x34], SafeArrayLock
lea rcx, [rbp + 8]
call fcn.140195010
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401fbcdf
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fbcd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc518
call fcn.14020be84
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1401fbd1a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fbd15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc51e
call fcn.14020be84
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], SafeArrayLock
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1401fbd65
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fbd60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc524
call fcn.14020be84
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], SafeArrayLock
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401fbdb0
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fbdab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc52a
call fcn.14020be84
mov edi, dword [rsp + 0x58]
sub ebx, edi
mov dword [rsp + 0x38], ebx
mov ebx, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], ebx
cmovl ebx, dword [rsp + 0x38]
mov dword [rsp + 0x3c], ebx
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.140103db0
nop
mov r8, rax
lea rdx, str.getMD5_blocksize:
lea rcx, [rbp + 8]
call fcn.1400e1940
mov rcx, rax
call fcn.140195010
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401fbe2e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fbe29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc530
call fcn.14020be84
xor r8d, r8d
mov edx, edi
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov r8, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1401fbe4a
mov r8, qword [r14]
mov edx, 0x104
lea rcx, [rbp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.140103db0
mov qword [rsp + 0x48], rax
mov edx, edi
lea rcx, [rbp - 0x38]
call fcn.140103db0
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 5
jb 0x1401fbf18
lea rax, [r8 + 5]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x1401fbea2
mov rbx, qword [rdi]
lea rax, [0x1402e6a51]
mov r13d, 5
lea r12, str._MD5_
cmp rax, rbx
jbe 0x1401fbed6
lea rax, [rbx + r8]
cmp r12, rax
ja 0x1401fbed6
cmp rbx, r12
ja 0x1401fbece
xor r14d, r14d
jmp 0x1401fbed9
mov r14, rbx
sub r14, r12
jmp 0x1401fbed9
mov r14, r13
lea rcx, [rbx + 5]
inc r8
mov rdx, rbx
call fcn.140244220
mov r8, r14
mov rdx, r12
mov rcx, rbx
call fcn.140244220
lea rcx, [rbx + r14]
sub r13, r14
lea rdx, [r12 + 5]
add rdx, r14
mov r8, r13
call fcn.140244220
mov r14, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x3c]
jmp 0x1401fbf43
mov r13d, 5
mov qword [rsp + 0x28], r13
lea r12, str._MD5_
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, rdi
call fcn.1400e31f0
mov rdi, rax
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], SafeArrayLock
mov byte [rdi], r12b
mov dword [rsp + 0x34], 0x1f
lea r8d, [r12 + 1]
lea rdx, [0x1402ce608]
lea rcx, [rbp - 0x58]
call fcn.1400f8490
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], r12b
mov dword [rsp + 0x34], 0x3f
mov r9, qword [rsp + 0x48]
lea r8, [rbp + 8]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x78]
call fcn.1400ea890
mov dword [rsp + 0x34], 0x7f
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r8, qword [rbp - 0x78]
mov edx, 0x104
lea rcx, [rbp + 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat_s
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1401fc029
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc024
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc536
call fcn.14020be84
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], SafeArrayLock
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1401fc075
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc06f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc53c
call fcn.14020be84
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1401fc0b0
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc0ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc542
call fcn.14020be84
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], SafeArrayLock
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1401fc0fb
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc0f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc548
call fcn.14020be84
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], SafeArrayLock
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1401fc146
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc141
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc54e
call fcn.14020be84
lea rcx, [rbp + 0x30]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
lea r8, [0x1402d67fc]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_getc
cmp eax, 0xffffffff
je 0x1401fc196
cmp r15d, ebx
jge 0x1401fc196
mov rdx, qword [rsp + 0x68]
mov ecx, eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_putc
inc r15d
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_getc
cmp eax, 0xffffffff
jne 0x1401fc173
mov rcx, qword [rsp + 0x40]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, qword [rsp + 0x68]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], SafeArrayLock
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1401fc1d0
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x38]
call fcn.1400f8840
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.1401f8d80
cmp byte [rbp + 0x1c0], 0
je 0x1401fc25e
lea rcx, [rbp + 0x30]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], SafeArrayLock
mov ecx, 0x20
call fcn.1400e1b00
mov rcx, rax
mov qword [rbp - 0x68], SafeArrayLock
mov qword [rbp - 0x60], 0x1f
movups xmm0, xmmword [str.getMD5_removetemp]
movups xmmword [rax], xmm0
movzx eax, byte [0x1402e6a68]
mov byte [rcx + 0x10], al
mov byte [rcx + 0x11], 0
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x78]
call fcn.140195010
jmp 0x1401fc341
lea rax, [rbp + 0x30]
mov rcx, rbx
inc rcx
cmp byte [rax + rcx], 0
jne 0x1401fc265
inc rcx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, qword [rsp + 0x50]
mov qword [rdi], rax
lea rcx, [rbp + 0x30]
mov r8, rbx
inc r8
cmp byte [rcx + r8], 0
jne 0x1401fc285
inc r8
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rbp + 0x30]
mov rdx, rbx
inc rdx
cmp byte [rax + rdx], 0
jne 0x1401fc2a3
inc rdx
lea r8, [rbp + 0x30]
mov rcx, qword [rdi]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
mov rdx, qword [rdi]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], SafeArrayLock
mov byte [rbp - 0x78], 0
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x1401fc2d5
lea rcx, [rbp - 0x78]
call fcn.1400f8840
nop
lea r8, [rbp - 0x78]
lea rdx, str.getMD5_chunkfilepath_name:
lea rcx, [rbp - 0x18]
call fcn.1400e1940
mov rcx, rax
call fcn.140195010
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1401fc341
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc33c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc554
call fcn.14020be84
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1401fc4a0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], SafeArrayLock
mov byte [rbp - 0x78], 0
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x1401fc366
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.1400f8840
nop
lea r8, [rbp - 0x78]
lea rdx, str.MD5_final_is
lea rcx, [rbp - 0x18]
call fcn.1400e1940
mov rcx, rax
call fcn.140195010
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1401fc3d5
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc3d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc55a
call fcn.14020be84
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], SafeArrayLock
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1401fc3e5
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.1400f8840
lea rax, [rbp - 0x78]
cmp rsi, rax
je 0x1401fc45c
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1401fc440
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1401fc43b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401fc50c
mov rcx, r8
call fcn.14020be84
mov qword [rsi + 0x18], SafeArrayLock
mov byte [rsi], 0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rsi + 0x10], xmm1
jmp 0x1401fc497
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1401fc497
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401fc492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401fc50c
call fcn.14020be84
mov rcx, rdi
call fcn.14020bb36
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1401fc4d6
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1401fc4d1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401fc512
mov rcx, r8
call fcn.14020be84
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], SafeArrayLock
mov byte [r14], 0
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14020c3e0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3