Function at 0x1002d210
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 0x1008afd9
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 0x1002d28c
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002d285
lea ecx, [ebp - 0xe4]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x2c]
call fcn.1002ecc0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x1002d2a8
xor esi, esi
jmp 0x1002d808
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.1002ef60
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 0x1002d313
test eax, eax
je 0x1002d9c3
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 0x1002d7b5
xor esi, esi
jmp 0x1002d7ba
test eax, eax
je 0x1002d7b5
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.1002ca80
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 0x1002d3e3
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x5c]
call fcn.1002ca80
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 7
jbe 0x1002d3e3
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d3d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9f9
push ecx
push edx
call fcn.10063674
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 0x1002d436
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 0x1002d44a
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 0x1002d49d
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 0x1002d4b1
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.1002cc40
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1002cc40
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 0x1002d58c
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0xf4], eax
jne 0x1002d58c
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], eax
jne 0x1002d58c
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 0x1002d586
test edx, edx
je 0x1002d67b
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002d586
add ecx, 2
sub edx, 1
jne 0x1002d570
jmp 0x1002d67b
mov edi, dword [ebp - 0xb0]
call fcn.1002f3b0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 6
jb 0x1002d9f4
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.10026740
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 0x1002d845
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 0x1002d619
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 0x1002d845
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d67b
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d671
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x1002d6bb
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d6b1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9f9
push edx
push ecx
call fcn.10063674
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d6f5
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d6eb
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9f9
push ecx
push esi
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d735
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d72b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9f9
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d769
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d75f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9f9
push ecx
push edx
call fcn.10063674
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 0x1002d7b5
mov edx, dword [ebp - 0x98]
inc ecx
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 0x1002d9f9
push ecx
push edx
call fcn.10063674
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x1002d7f4
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d7ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9fe
push ecx
push edx
call fcn.10063674
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 0x1002d9d4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d9fe
jmp 0x1002d9ca
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d87f
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d875
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push edx
call fcn.10063674
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 0x1002d8cd
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002d8c3
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push edi
call fcn.10063674
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d907
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d8fd
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push esi
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d947
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d93d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d97b
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d971
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push edx
call fcn.10063674
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 0x1002d9c3
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9b9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da03
push ecx
push edx
call fcn.10063674
add esp, 8
xor esi, esi
jmp 0x1002d7ba
push ecx
push edx
call fcn.10063674
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.10063317
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b20
call fcn.1006dd1f
call fcn.1006dd1f
call fcn.1006dd1f
int3