Function at 0x1002d270
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008aee9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.kernel32.dll
mov dword [ebp - 0xe4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x1002d2ec
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002d2e5
lea ecx, [ebp - 0xe4]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x2c]
call fcn.1002ed20
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x1002d308
xor esi, esi
jmp 0x1002d868
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmova eax, dword [ebp - 0x2c]
push eax
call esi
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.1002efc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
cmova ecx, dword [ebp - 0x44]
push ecx
call esi
test edi, edi
jne 0x1002d373
test eax, eax
je 0x1002da23
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
push 1
cmova ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
push ecx
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1002d815
xor esi, esi
jmp 0x1002d81a
test eax, eax
je 0x1002d815
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x98]
cmova edx, dword [ebp - 0x2c]
call fcn.10007850
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x80]
cmova edx, dword [ebp - 0x44]
call fcn.10007850
push ecx
lea edx, [ebp - 0x98]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.1002cae0
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x98]
push dword [ebp - 0x70]
cmova eax, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 0xf
mov edx, dword [ebp - 0x88]
cmova ecx, dword [ebp - 0x98]
push eax
call fcn.100045b0
add esp, 8
test al, al
jne 0x1002d443
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x5c]
call fcn.1002cae0
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 7
jbe 0x1002d443
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d439
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da59
push ecx
push edx
call fcn.100635d4
add esp, 8
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
cmova eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x1002d496
xorps xmm0, xmm0
movlpd qword [ebp - 0x100], xmm0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xf4], eax
jmp 0x1002d4aa
mov edi, dword [ebp - 0x48]
xor esi, esi
or esi, dword [ebp - 0x4c]
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0x104], esi
cmp dword [ebp - 0x30], 7
lea ecx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], 0
cmova eax, dword [ebp - 0x44]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x1002d4fd
xorps xmm0, xmm0
movlpd qword [ebp - 0xf0], xmm0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xec], eax
jmp 0x1002d511
mov ecx, dword [ebp - 0x48]
xor eax, eax
or eax, dword [ebp - 0x4c]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xc8]
call fcn.1002cca0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1002cca0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x98]
push dword [ebp - 0x70]
cmova eax, dword [ebp - 0x80]
cmp dword [ebp - 0x84], 0xf
mov edx, dword [ebp - 0x88]
cmova ecx, dword [ebp - 0x98]
push eax
call fcn.100045b0
mov esi, dword [ebp - 0xc8]
add esp, 8
mov edi, dword [ebp - 0xb0]
test al, al
je 0x1002d5ec
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0xf4], eax
jne 0x1002d5ec
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], eax
jne 0x1002d5ec
cmp dword [ebp - 0x9c], 7
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 0xb8]
cmova ecx, edi
cmp dword [ebp - 0xb4], 7
lea edi, [ebp - 0xc8]
cmova edi, esi
cmp edx, dword [ebp - 0xa0]
jne 0x1002d5e6
test edx, edx
je 0x1002d6db
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002d5e6
add ecx, 2
sub edx, 1
jne 0x1002d5d0
jmp 0x1002d6db
mov edi, dword [ebp - 0xb0]
call fcn.1002f410
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 6
jb 0x1002da54
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 6
cmova eax, dword [ebp - 0x2c]
push str..ybbak
push ecx
push eax
push ecx
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x5c]
call fcn.100267a0
cmp dword [ebp - 0x48], 7
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
cmova ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 7
push ecx
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1002d8a5
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1002d679
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
push 4
cmova eax, dword [ebp - 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
push 1
cmova ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
push ecx
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1002d8a5
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d6db
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d6d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x1002d71b
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d711
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da59
push edx
push ecx
call fcn.100635d4
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d755
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d74b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da59
push ecx
push esi
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d795
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d78b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da59
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d7c9
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d7bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da59
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x1002d815
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d80b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da59
push ecx
push edx
call fcn.100635d4
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x1002d854
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d84a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da5e
push ecx
push edx
call fcn.100635d4
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x1002da34
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002da2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da5e
jmp 0x1002da2a
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d8df
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d8d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push edx
call fcn.100635d4
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], 7
cmp eax, 7
jbe 0x1002d92d
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002d923
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push edi
call fcn.100635d4
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d967
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d95d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push esi
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d9a7
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d99d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d9db
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x1002da23
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002da19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da63
push ecx
push edx
call fcn.100635d4
add esp, 8
xor esi, esi
jmp 0x1002d81a
push ecx
push edx
call fcn.100635d4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063277
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b20
call fcn.1006dc9f
call fcn.1006dc9f
call fcn.1006dc9f
int3