Function at 0x140306610
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
cmp dword [rcx + 0x2c], 0
mov rsi, rcx
mov qword [rsp + 0x40], rcx
je 0x140306c45
mov rdi, qword [rcx + 8]
lea rcx, [rsp + 0x70]
call fcn.140307be0
mov r12, 0xffffffffffffffff
lea rax, str.ROOT
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x38], r12d
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea r8d, [r12 + 0x41]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1403120e0
xor r13d, r13d
mov ebx, r13d
mov dword [rsp + 0x20], r13d
mov r14d, r13d
mov dword [rsp + 0x28], r13d
cmp dword [rsi + 0x18], ebx
jbe 0x140306bbe
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
movsxd rdx, r14d
mov qword [rsp + 0x30], r13
call qword [rax + rdx*8]
mov r15, qword [rsp + 0x30]
test r15, r15
je 0x140306bac
mov rax, qword [r15]
lea rdx, [rsp + 0x24]
mov rcx, r15
mov dword [rsp + 0x24], r13d
call qword [rax + 0x28]
mov r13d, dword [rsp + 0x24]
test r13d, r13d
je 0x140306779
test rbx, rbx
je 0x14030670b
cmp r13d, dword [rsp + 0x20]
jbe 0x140306779
lea esi, [r13 + 3]
mov ecx, 0x40
and esi, 0xfffffffc
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x140306c13
test rbx, rbx
je 0x14030676d
mov r8d, dword [rsp + 0x20]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, r14
mov dword [rsp + 0x20], esi
mov r14d, dword [rsp + 0x28]
mov rax, qword [r15]
xor r9d, r9d
mov r8d, r13d
mov rdx, rbx
mov rcx, r15
call qword [rax + reloc.SHELL32.dll_ILFindChild]
test eax, eax
js 0x140306c13
mov rax, qword [r15]
lea rdx, [rbp + 0x130]
mov rcx, r15
call qword [rax + 0x10]
test eax, eax
js 0x140306b94
mov rcx, qword [rbp + 0x130]
cmp qword [0x14061ade8], rcx
mov rax, qword [rbp + 0x138]
jne 0x14030684c
cmp qword [0x14061adf0], rax
jne 0x14030684c
mov eax, dword [rbx]
cmp dword [rdi], eax
je 0x140306b94
mov edx, 0x1e0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140306c13
mov rcx, rax
call fcn.140307820
mov rsi, rax
test rax, rax
je 0x140306c13
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0x140]
call fcn.1402d6720
lea rdx, str.Int32
lea rcx, [rsi + 0x98]
call fcn.1402d6720
mov ecx, dword [r15 + 0x10]
mov dword [rsi + 0x130], ecx
mov ecx, dword [rdi]
mov dword [rsi + 0x1d0], ecx
jmp 0x140306b80
cmp qword [0x14061adf8], rcx
jne 0x1403068e7
cmp qword [0x14061ae00], rax
jne 0x1403068e7
mov rax, qword [rbx]
cmp qword [rdi], rax
je 0x140306b94
mov edx, 0x1e0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140306c13
mov rcx, rax
call fcn.1403078c0
mov rsi, rax
test rax, rax
je 0x140306c13
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0x140]
call fcn.1402d6720
lea rcx, [rsi + 0x98]
lea rdx, str.Int64
call fcn.1402d6720
mov ecx, dword [r15 + 0x10]
mov dword [rsi + 0x130], ecx
mov rcx, qword [rdi]
mov qword [rsi + 0x1d0], rcx
jmp 0x140306b80
cmp qword [0x14061adc8], rcx
jne 0x140306958
cmp qword [0x14061add0], rax
jne 0x140306958
mov eax, dword [rbx]
cmp dword [rdi], eax
je 0x140306b94
mov edx, 0x1e0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140306c13
mov rcx, rax
call fcn.140307b40
mov rsi, rax
test rax, rax
je 0x140306c13
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0x140]
call fcn.1402d6720
lea rdx, str.Bool
jmp 0x140306829
cmp qword [0x14061adb8], rcx
jne 0x140306a08
cmp qword [0x14061adc0], rax
jne 0x140306a08
mov r8d, r13d
mov rdx, rbx
shr r8d, 1
mov rcx, rdi
dec r8d
call fcn.14019ee40
test eax, eax
je 0x140306b94
mov edx, 0x1e0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140306c13
mov rcx, rax
call fcn.140307a00
mov rsi, rax
test rax, rax
je 0x140306c13
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0x140]
call fcn.1402d6720
lea rcx, [rsi + 0x98]
lea rdx, str.String
call fcn.1402d6720
mov ecx, dword [r15 + 0x10]
mov rdx, rdi
mov dword [rsi + 0x130], ecx
lea rcx, [rsi + 0x1d0]
call fcn.1402d6720
jmp 0x140306b80
cmp qword [0x14061ae18], rcx
jne 0x140306ae6
cmp qword [0x14061ae20], rax
jne 0x140306ae6
movss xmm0, dword [rdi]
ucomiss xmm0, dword [rbx]
jp 0x140306a58
jne 0x140306a58
movss xmm0, dword [rdi + 4]
ucomiss xmm0, dword [rbx + 4]
jp 0x140306a58
jne 0x140306a58
movss xmm0, dword [rdi + 8]
ucomiss xmm0, dword [rbx + 8]
jp 0x140306a58
jne 0x140306a58
movss xmm0, dword [rdi + 0xc]
ucomiss xmm0, dword [rbx + 0xc]
jp 0x140306a58
je 0x140306b94
mov edx, 0x1e8
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140306c13
mov rcx, rax
call fcn.140307aa0
mov rsi, rax
test rax, rax
je 0x140306c13
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0x140]
call fcn.1402d6720
lea rcx, [rsi + 0x98]
lea rdx, str.Color
call fcn.1402d6720
mov ecx, dword [r15 + 0x10]
mov dword [rsi + 0x130], ecx
mov ecx, dword [rdi + 8]
mov dword [rsi + 0x1d0], ecx
mov ecx, dword [rdi + 4]
mov dword [rsi + 0x1d4], ecx
mov eax, dword [rdi]
mov dword [rsi + 0x1d8], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0x1dc], eax
jmp 0x140306b80
cmp qword [0x14061ada8], rcx
jne 0x140306b94
cmp qword [0x14061adb0], rax
jne 0x140306b94
movsd xmm0, qword [rdi]
ucomisd xmm0, qword [rbx]
jp 0x140306b10
je 0x140306b94
mov edx, 0x1e0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140306c13
mov rcx, rax
call fcn.140307960
mov rsi, rax
test rax, rax
je 0x140306c13
lea rcx, [rax + 0x90]
lea rdx, [rbp + 0x140]
call fcn.1402d6720
lea rcx, [rsi + 0x98]
lea rdx, str.Double
call fcn.1402d6720
mov ecx, dword [r15 + 0x10]
mov dword [rsi + 0x130], ecx
mov rdx, qword [rdi]
mov qword [rsi + 0x1d0], rdx
mov rdx, rsi
lea rcx, [rbp]
call fcn.140308f40
test eax, eax
js 0x140306c13
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
add rdi, r13
call qword [rax]
mov rsi, qword [rsp + 0x40]
xor r13d, r13d
inc r14d
mov dword [rsp + 0x28], r14d
cmp r14d, dword [rsi + 0x18]
jb 0x1403066c0
cmp dword [rbp + 0x90], 0
lea rdi, [rsi + 0x30]
jle 0x140306c0a
test rdi, rdi
je 0x140306c13
inc r12
cmp word [rdi + r12*2], 0
jne 0x140306bd0
test r12d, r12d
je 0x140306c13
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1403149f0
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140314a40
lea rcx, [rsp + 0x48]
call fcn.140314a20
jmp 0x140306c13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test rbx, rbx
je 0x140306c3c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rcx, [rbp]
call fcn.140308760
xor eax, eax
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14039bbb0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret