Function at 0x1002d290
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 0x1008de69
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100ab080]
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 0x1002d30c
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002d305
lea ecx, [ebp - 0xe4]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x2c]
call fcn.1002ed40
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x1002d328
xor esi, esi
jmp 0x1002d888
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.1002efe0
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 0x1002d393
test eax, eax
je 0x1002da43
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 0x1002d835
xor esi, esi
jmp 0x1002d83a
test eax, eax
je 0x1002d835
cmp dword [ebp - 0x18], 7
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x98]
cmova edx, dword [ebp - 0x2c]
call fcn.100078e0
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.100078e0
push ecx
lea edx, [ebp - 0x98]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.1002cb10
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.10004660
add esp, 8
test al, al
jne 0x1002d463
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x5c]
call fcn.1002cb10
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 7
jbe 0x1002d463
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d459
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da79
push ecx
push edx
call fcn.100666c9
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 0x1002d4b6
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 0x1002d4ca
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 0x1002d51d
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 0x1002d531
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.1002ccd0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1002ccd0
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.10004660
mov esi, dword [ebp - 0xc8]
add esp, 8
mov edi, dword [ebp - 0xb0]
test al, al
je 0x1002d60c
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0xf4], eax
jne 0x1002d60c
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], eax
jne 0x1002d60c
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 0x1002d606
test edx, edx
je 0x1002d6fb
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002d606
add ecx, 2
sub edx, 1
jne 0x1002d5f0
jmp 0x1002d6fb
mov edi, dword [ebp - 0xb0]
call fcn.1002f430
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 6
jb 0x1002da74
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.100269b0
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 0x1002d8c5
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 0x1002d699
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 0x1002d8c5
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d6fb
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d6f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x1002d73b
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d731
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da79
push edx
push ecx
call fcn.100666c9
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d775
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d76b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da79
push ecx
push esi
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d7b5
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d7ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da79
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d7e9
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d7df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da79
push ecx
push edx
call fcn.100666c9
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 0x1002d835
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d82b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da79
push ecx
push edx
call fcn.100666c9
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x1002d874
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d86a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da7e
push ecx
push edx
call fcn.100666c9
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 0x1002da54
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002da4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da7e
jmp 0x1002da4a
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d8ff
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d8f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push edx
call fcn.100666c9
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 0x1002d94d
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002d943
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push edi
call fcn.100666c9
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d987
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d97d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push esi
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d9c7
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push edx
call fcn.100666c9
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d9fb
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push edx
call fcn.100666c9
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 0x1002da43
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002da39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da83
push ecx
push edx
call fcn.100666c9
add esp, 8
xor esi, esi
jmp 0x1002d83a
push ecx
push edx
call fcn.100666c9
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.1006636c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b90
call fcn.10070c0f
call fcn.10070c0f
call fcn.10070c0f
int3