Function at 0x1002d230
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 0x1008aff9
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 0x1002d2ac
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002d2a5
lea ecx, [ebp - 0xe4]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x2c]
call fcn.1002ece0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x1002d2c8
xor esi, esi
jmp 0x1002d828
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.1002ef80
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 0x1002d333
test eax, eax
je 0x1002d9e3
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 0x1002d7d5
xor esi, esi
jmp 0x1002d7da
test eax, eax
je 0x1002d7d5
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.1002caa0
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 0x1002d403
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x5c]
call fcn.1002caa0
mov ecx, dword [ebp - 0x48]
add esp, 4
cmp ecx, 7
jbe 0x1002d403
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d3f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da19
push ecx
push edx
call fcn.10063694
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 0x1002d456
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 0x1002d46a
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 0x1002d4bd
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 0x1002d4d1
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.1002cc60
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.1002cc60
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 0x1002d5ac
mov eax, dword [ebp - 0xec]
cmp dword [ebp - 0xf4], eax
jne 0x1002d5ac
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x104], eax
jne 0x1002d5ac
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 0x1002d5a6
test edx, edx
je 0x1002d69b
sub edi, ecx
nop word [eax + eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x1002d5a6
add ecx, 2
sub edx, 1
jne 0x1002d590
jmp 0x1002d69b
mov edi, dword [ebp - 0xb0]
call fcn.1002f3d0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 6
jb 0x1002da14
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 0x1002d865
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 0x1002d639
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 0x1002d865
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d69b
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d691
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x1002d6db
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002d6d1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da19
push edx
push ecx
call fcn.10063694
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d715
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d70b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da19
push ecx
push esi
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d755
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d74b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da19
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d789
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d77f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da19
push ecx
push edx
call fcn.10063694
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 0x1002d7d5
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d7cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da19
push ecx
push edx
call fcn.10063694
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x1002d814
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d80a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da1e
push ecx
push edx
call fcn.10063694
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 0x1002d9f4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da1e
jmp 0x1002d9ea
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x1002d89f
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d895
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push edx
call fcn.10063694
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 0x1002d8ed
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002d8e3
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push edi
call fcn.10063694
add esp, 8
mov eax, dword [ebp - 0xb4]
cmp eax, 7
jbe 0x1002d927
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002d91d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push esi
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0xcc]
cmp ecx, 7
jbe 0x1002d967
mov edx, dword [ebp - 0xe0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d95d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x1002d99b
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d991
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push edx
call fcn.10063694
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 0x1002d9e3
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d9d9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002da23
push ecx
push edx
call fcn.10063694
add esp, 8
xor esi, esi
jmp 0x1002d7da
push ecx
push edx
call fcn.10063694
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.10063337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002b20
call fcn.1006dd3f
call fcn.1006dd3f
call fcn.1006dd3f
int3