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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b605e
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [esp + 0xd8], cx
push eax
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], ebx
call fcn.0040f1f0
mov dword [esp + 0x150], ebx
lea eax, [ebx + 0x20]
lea edi, [esp + 0xd0]
call fcn.00419780
lea esi, [ebx + 8]
cmp dword [esp + 0xe0], ebx
je 0x4233b6
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0xe4], esi
jae 0x4233a5
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x4233eb
mov dword [esp + 0x150], 0xffffffff
cmp dword [esp + 0xe4], esi
jb 0x4233da
mov edx, dword [esp + 0xd0]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov word [esp + 0xd0], ax
mov al, 1
jmp 0x4236be
mov eax, dword [esp + 0xe0]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490047
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xd0]
cmp dword [esp + 0xe4], esi
jae 0x423427
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esp + 0xe4]
add eax, 2
push eax
push edi
call fcn.0049195d
mov edx, dword [esp + 0xec]
xor eax, eax
xor ecx, ecx
mov word [edi + edx*2], cx
mov ecx, dword [esp + 0xec]
mov word [edi + ecx*2 + 2], ax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x3c], ax
mov edx, 0x414
or ax, dx
mov ecx, 0xffbf
add esp, 0xc
lea edx, [esp + 0x14]
and ax, cx
push edx
mov dword [esp + 0x2e], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x32], ebx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x28], ax
mov byte [esp + 0x17], 1
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x42367f
push 1
push 2
lea ecx, [esp + 0x3c]
call fcn.00413cc0
mov byte [esp + 0x150], 1
lea eax, [esp + 0xd0]
push eax
push ecx
push str.._strPath:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea ecx, [esp + 0x4c]
push str.SHFileOperation_Failed._GetLastError:
push ecx
call fcn.00416b90
add esp, 0xc
push eax
call fcn.004135f0
add esp, 4
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416df0
add esp, 8
push 0x17
mov esi, 0xf
push str.CFileUtility::DeleteDir
lea ecx, [esp + 0xf4]
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.0040ebe0
mov byte [esp + 0x150], 2
push esi
push str.FileUtility.cpp
lea ecx, [esp + 0x110]
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
call fcn.0040ebe0
mov byte [esp + 0x150], 3
lea edx, [esp + 0x124]
push edx
lea ecx, [esp + 0x38]
call fcn.00413de0
mov byte [esp + 0x150], 4
push eax
lea eax, [esp + 0xf0]
push eax
push 0x327
lea ecx, [esp + 0x114]
push ecx
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x150], 3
cmp dword [esp + 0x138], 8
jb 0x4235dc
mov edx, dword [esp + 0x124]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], ebx
mov word [esp + 0x124], ax
mov byte [esp + 0x150], 2
cmp dword [esp + 0x11c], 0x10
jb 0x42361a
mov ecx, dword [esp + 0x108]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
mov byte [esp + 0x150], 1
cmp dword [esp + 0x100], 0x10
jb 0x423651
mov edx, dword [esp + 0xec]
push edx
call fcn.00490458
add esp, 4
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
mov byte [esp + 0x150], bl
lea ecx, [esp + 0x34]
call fcn.00412cc0
mov byte [esp + 0x13], bl
mov esi, 8
cmp edi, ebx
je 0x42368c
push edi
call fcn.004913ca
add esp, 4
mov dword [esp + 0x150], 0xffffffff
cmp dword [esp + 0xe4], esi
jb 0x4236b0
mov eax, dword [esp + 0xd0]
push eax
call fcn.00490458
add esp, 4
mov al, byte [esp + 0x13]
xor ecx, ecx
mov word [esp + 0xd0], cx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 7
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret