Function at 0x401ea0
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x430ee3
call fcn.00411a58
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
inc esi
push 0x14
mov dword [ebp - 4], esi
call fcn.00424b7f
pop ecx
mov dword [ebp - 0x2c], eax
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x401edf
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
mov ecx, eax
call fcn.0042992c
mov edi, eax
jmp 0x401ee1
xor edi, edi
push 0x400
mov byte [ebp - 4], 3
call fcn.00424baf
pop ecx
push ebx
push ebx
push 0x84000002
push esi
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.0042a513
mov edi, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
call fcn.00425903
push ebx
push 0x9001
mov esi, str.tmpfile
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00425919
cmp eax, ebx
jne 0x401f3f
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00425cda
jmp 0x402104
mov eax, dword [edi]
push 0x3ff
push dword [ebp - 0x14]
mov ecx, edi
call dword [eax + 0x34]
cmp eax, ebx
lea ecx, [ebp - 0x40]
je 0x401f60
push eax
push dword [ebp - 0x14]
call fcn.00425a90
jmp 0x401f3f
call fcn.00425c9e
mov eax, dword [0x4435b0]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push esi
push eax
call dword [ecx + 0x6c]
cmp dword [ebp - 0x18], ebx
je 0x401f8e
mov eax, dword [0x4435b0]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
jne 0x402052
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x4020db
call dword [0x4410b0]
push 0x2f
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x20], eax
call fcn.00401620
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401c16
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00401a34
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x4020a4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00411b00
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x20]
push edi
push dword [ebp - 0x24]
push eax
call fcn.0040118f
mov edi, dword [0x4435b0]
push eax
call fcn.0041efb0
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x134]
cmp eax, ebx
jne 0x40203e
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
je 0x40203e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040128b
jmp 0x4020db
push dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4020d4
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x4020db
call dword [0x4410b0]
push 0x2f
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x24], eax
call fcn.00401620
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
call fcn.00401c16
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00401a34
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x4020ab
xor eax, eax
jmp 0x40200e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.00411b00
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x20]
jmp 0x402008
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x4c]
push dword [ebp - 0x14]
call fcn.00424baa
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00425cda
mov bl, 1
jmp 0x402104
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040128b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040128b
mov al, bl
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret