Function at 0x14007c2b0
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x40], rsi
lea rdx, str.folder
lea rcx, [rsp + 0x40]
call fcn.140087010
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140088500
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140087010
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x14007c365
add rdx, 0x10
lea rcx, [rbp - 0x49]
call fcn.1400075e0
nop
mov qword [rsp + 0x30], rsi
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, qword [rbp - 0x49]
lea rcx, [rsp + 0x30]
call fcn.140087010
lea ebx, [rsi + 0x18]
lea rcx, [rbp - 0x49]
call fcn.140008a50
mov rax, qword [rsp + 0x30]
jmp 0x14007c372
mov rax, rsi
mov qword [rsp + 0x30], rax
mov ebx, 8
or ebx, 4
test rax, rax
je 0x14007c386
cmp qword [rax + 0x18], 0x10
jb 0x14007c389
mov rax, qword [rax]
jmp 0x14007c389
mov rax, rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 7
mov word [rbp - 9], si
lea rdx, [0x1401490f7]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rdx + r8], 0
jne 0x14007c3c1
lea rcx, [rbp - 0x69]
call fcn.140008ab0
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.14001a690
nop
lea rcx, [rbp - 0x69]
call fcn.140008a50
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140087010
nop
mov qword [rbp - 0x29], rsi
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rdx, [0x14014ce5c]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], si
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14007c430
mov r8, rdi
lea rcx, [rbp - 0x49]
call fcn.1400088b0
or ebx, 0x20
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x69], 0
or ebx, 0x40
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.14001a4c0
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rdx, qword [rbp - 0x69]
lea r14, str.Urgent
cmp qword [rbp - 0x59], 6
jne 0x14007c4b6
mov rcx, rsi
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r14 + rcx - 1]
jne 0x14007c4a8
cmp rcx, 6
jne 0x14007c490
mov eax, esi
jmp 0x14007c4ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14007c4b6
xor dil, dil
jmp 0x14007c4b9
mov dil, 1
and ebx, 0xffffffbf
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x69]
call fcn.140008a50
nop
lea rcx, [rbp - 0x49]
call fcn.140008840
test dil, dil
je 0x14007c5fb
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], si
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], 0
mov r8d, 6
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140008ab0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.14001a690
nop
lea rcx, [rbp - 0x49]
call fcn.140008a50
nop
lea r8, [rbp - 0x69]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 9]
call fcn.140025150
nop
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
cmp qword [rax + 0x18], 8
jb 0x14007c54e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140087120
nop
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x14007c572
cmp qword [rdx + 0x18], 0x10
jb 0x14007c575
mov rdx, qword [rdx]
jmp 0x14007c575
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140088230
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140087010
nop
mov qword [rsp + 0x38], rsi
lea rdx, str.folder
lea rcx, [rsp + 0x38]
call fcn.140087010
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x29]
call fcn.140088410
mov rdi, rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140087010
nop
mov rcx, rdi
call fcn.140088ed0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14007c5dc
mov qword [rdi], rcx
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
call fcn.140088ed0
nop
lea rcx, [rsp + 0x50]
call fcn.140008840
nop
lea rcx, [rbp - 0x69]
call fcn.140008840
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r13, rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov qword [rbp - 0x11], rsi
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, str.SDKFoldersHelper
xor r8d, r8d
lea rdx, [0x14003ec60]
mov rcx, rax
call fcn.140027a90
lea r8, [rbp - 9]
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.140065330
mov rax, qword [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov rdi, qword [rbp - 0x21]
cmp rdi, rax
je 0x14007c89c
lea rsi, [rdi + 0x40]
movzx ecx, byte [0x14017b660]
mov rdx, rax
nop dword [rax]
test cl, cl
jne 0x14007c896
mov r14, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
cmp r14, r12
je 0x14007c885
nop dword [rax]
cmp qword [rbp - 0x29], 0
je 0x14007c742
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
sub rcx, r13
cmp rcx, 0x3e8
jl 0x14007c742
mov r13, rax
xor eax, eax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], ax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x49], al
lea r8d, [rax + 6]
lea rdx, str.Urgent
lea rcx, [rbp - 0x49]
call fcn.140008ab0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.14001a690
nop
lea rcx, [rbp - 0x49]
call fcn.140008a50
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
lea rcx, [rsi - 0x38]
lea r8, [rbp - 0x69]
lea rdx, [rsp + 0x50]
call fcn.140025150
or ebx, 2
mov dword [rsp + 0x30], ebx
cmp qword [rax + 0x18], 8
jb 0x14007c72f
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14007c742
movzx edi, al
jmp 0x14007c745
xor dil, dil
test bl, 2
je 0x14007c75c
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x50]
call fcn.140008840
nop
test bl, 1
je 0x14007c771
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x69]
call fcn.140008840
test dil, dil
je 0x14007c782
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.14007c2b0
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 0xa
lea r9, str.AdpComponent
xor r8d, r8d
lea rdx, [0x140055450]
mov rcx, rax
call fcn.140027a90
mov rdi, rax
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], ax
lea rdx, [rbp - 0x49]
mov rcx, r14
call fcn.14001a690
nop
lea rcx, [rsi - 0x38]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x69]
call fcn.140025150
mov r15, rax
bts ebx, 7
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x49]
call fcn.140008840
cmp qword [rsi - 8], 0
je 0x14007c842
lea r8, [rsi - 0x18]
cmp qword [rsi], 8
jb 0x14007c805
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x69]
call fcn.140025500
nop
lea rcx, [rbp - 0x69]
cmp rcx, rax
je 0x14007c838
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14007c82b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.1400088b0
nop
lea rcx, [rsp + 0x50]
call fcn.140008840
mov rdx, r15
mov rcx, rdi
call fcn.140041dc0
btr ebx, 7
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x69]
call fcn.140008840
movzx ecx, byte [0x14017b660]
test cl, cl
jne 0x14007c87b
add r14, 0x20
cmp r14, r12
mov r15, qword [rsp + 0x48]
jne 0x14007c690
mov r15, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
add rsi, 0x68
lea rax, [rsi - 0x40]
cmp rax, rdx
jne 0x14007c670
mov rdi, qword [rbp - 0x21]
xor esi, esi
cmp qword [rbp - 0x29], 0
jne 0x14007c8e9
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
je 0x14007c8fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14007c8fb
lea edx, [rax + 0x7b]
lea rcx, [rbp - 9]
call fcn.1400262d0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14007c8fb
cmp rdi, qword [rbp - 0x19]
jne 0x14007c8ff
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.14007c2b0
mov rdi, qword [rbp - 0x21]
test rdi, rdi
je 0x14007c982
mov rbx, qword [rbp - 0x19]
cmp rdi, rbx
je 0x14007c927
nop dword [rax]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
add rdi, 0x68
cmp rdi, rbx
jne 0x14007c910
mov rdi, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x11]
sub rcx, rdi
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x68
mov rax, rdi
cmp rdx, 0x1000
jb 0x14007c96e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007c9be
mov rcx, rdi
call fcn.1400e9d84
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
lea rcx, [rbp - 0x29]
call fcn.140088ed0
nop
lea rcx, [rbp - 9]
call fcn.140008840
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400e9d60
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400f35b0
nop
int3