Function at 0x420400
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x61c]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x648], esi
mov dword [ebp - 0x644], ebx
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005d4b40
push esi
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.005df355
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.005df355
add esp, 0x30
call fcn.0048bb30
test al, al
je 0x42049c
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.0048c2a0
test al, al
je 0x4204ba
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.0048bac0
test al, al
je 0x4204da
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.005df279
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.005df279
add esp, 0x10
lea ecx, [ebp - 0x414]
lea eax, [ebp - 0x61c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420536
test dx, dx
je 0x420532
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420536
add eax, 4
add ecx, 4
test dx, dx
jne 0x420510
xor eax, eax
jmp 0x42053b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4208d5
mov ebx, dword [ebp - 0x648]
test ebx, ebx
je 0x4208d5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4208d5
lea eax, [ebp - 0x640]
mov dword [ebp - 0x620], 0
push eax
xorps xmm0, xmm0
push 0
push ebx
movups xmmword [ebp - 0x640], xmm0
movups xmmword [ebp - 0x630], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x4208d5
call fcn.0048bcf0
test al, al
je 0x4205bb
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048c0e0
test al, al
je 0x4205dd
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
mov dword [ebp - 0x64c], 0
call fcn.0048be40
test al, al
je 0x420605
push ecx
pop ebp
pop esp
pop ebp
pop esi
pop ecx
pop eax
push edx
push edx
push ebp
pop ebp
push ebx
push edx
pop edi
pop edx
push eax
pop edx
pop edi
push esi
pop eax
push edx
call fcn.0048c540
test al, al
je 0x420628
push esp
pop ebp
pop edx
push edx
push edx
pop ecx
push edi
pop esp
pop esi
pop esi
push esi
push ecx
push ecx
push esp
push ebx
pop ecx
push esp
pop esi
push esi
push ebp
pop esp
pop eax
push edx
push edi
push esp
pop esi
call fcn.0048bc80
test al, al
je 0x420647
pop ebp
push edx
pop edx
pop eax
pop eax
push esp
pop esp
pop edx
push esp
push esp
push ecx
pop ebp
pop edx
push ecx
pop eax
push edx
pop ebx
push esi
pop ecx
pop ecx
push ecx
push edi
call fcn.0048c460
test al, al
je 0x420665
pop ecx
pop edx
pop edi
push ecx
pop eax
push ecx
push esp
pop esi
push ebp
pop edi
push edx
pop ebp
push eax
pop edi
push ebp
pop edi
pop eax
push esp
pop edi
pop esi
push esp
xor esi, esi
call fcn.0048c3f0
test al, al
je 0x420685
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005d4b40
add esp, 0xc
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x4206c0
push 0x60bf60
push dword [ebp - 0x644]
push 0x609b88
push eax
call fcn.0040ac70
add esp, 0x10
jmp 0x4206da
push esi
push 0x60bf60
push dword [ebp - 0x644]
push str._s_s_d
push eax
call fcn.0040ac70
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x420732
lea eax, [ebp - 0x640]
mov dword [ebp - 0x620], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20c]
push 0
push eax
movups xmmword [ebp - 0x640], xmm0
movups xmmword [ebp - 0x630], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
setne al
test al, al
je 0x420732
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0048bc10
test al, al
je 0x420758
push esi
push ebp
push edi
push ebx
pop edx
push esi
pop ebp
pop edx
pop edx
pop ebp
push ecx
pop esp
push esp
pop ecx
pop eax
push edx
push edx
pop ebp
pop ebp
pop ebx
push ebx
pop edx
push eax
pop ecx
push eax
push esp
push ebp
push ecx
pop esp
call fcn.0048c5b0
test al, al
je 0x42077f
push edi
pop esi
pop ebp
pop esp
pop eax
pop ecx
push esi
pop esp
push ebp
push esp
push esp
pop edi
push esi
push ebp
pop ebx
push ecx
push eax
pop edx
pop edx
pop esi
push esp
push eax
push edx
push esi
pop ebp
push esp
push ebx
push ebx
push edi
push esi
call fcn.0048ba50
test al, al
je 0x42079a
pop edx
pop esp
pop edi
push edx
pop esp
push esi
push ebp
pop esp
pop eax
push eax
pop eax
pop ecx
pop ebp
pop ebp
pop eax
push edx
pop ebx
pop esp
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x644]
call fcn.005df3b9
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0048bb30
test al, al
je 0x4207e3
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.0048c2a0
test al, al
je 0x420801
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.0048bac0
test al, al
je 0x420821
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
push 0
push dword [ebp - 0x644]
push dword [ebp - 0x648]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4208a6
call fcn.0048bcf0
test al, al
je 0x42085c
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0048c0e0
test al, al
je 0x42087e
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [ebp - 0x64c]
cmp esi, 0xa
jge 0x4208d5
inc esi
mov dword [ebp - 0x64c], esi
jmp 0x420667
call fcn.0048c3f0
test al, al
je 0x4208c4
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cabbc
mov esp, ebp
pop ebp
ret