Function at 0x64611bc4
Capabilities:
Copy file
Delete file
Get common file path
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x646170a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x214]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x858], edx
push 0x208
mov edi, ecx
mov dword [ebp - 0x85c], esi
push esi
push eax
mov dword [ebp - 0x860], edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x624]
push 0x208
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x82c]
push 0x208
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x208
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64611c74
test byte [eax + 0x1c], 2
je 0x64611c74
cmp byte [eax + 0x19], 5
jb 0x64611c74
push dword [eax + 0x14]
mov edx, 0x64603008
push dword [eax + 0x10]
push 0x4e
pop ecx
call fcn.64604453
lea eax, [ebp - 0x624]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x64611c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x64611fb1
lea eax, [ebp - 0x82c]
push eax
push esi
push 0x64601518
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x64611c8a
lea eax, [ebp - 0x864]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x104
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x64611f9c
cmp eax, 0x104
ja 0x64611f95
mov ecx, dword [ebp - 0x858]
lea eax, [ebp - 0x85c]
push eax
lea edx, [ebp - 0x214]
call fcn.64610f02
test eax, eax
mov eax, dword [ebp - 0x85c]
jne 0x64611d11
test al, 4
jne 0x64611d19
or eax, 4
test al, 4
je 0x64611e07
test edi, edi
je 0x64611f9c
mov edx, dword [ebp - 0x858]
mov ecx, edi
push ebx
call fcn.64611fd4
test eax, eax
je 0x64611f9c
push ecx
push ecx
push 0x80
push 3
push ecx
push 1
mov edx, 0x80000000
mov ecx, ebx
call fcn.6460fb29
mov edi, eax
cmp edi, 0xffffffff
jne 0x64611d9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64611fa4
test byte [eax + 0x1c], 2
je 0x64611fa4
cmp byte [eax + 0x19], 2
jb 0x64611fa4
push esi
push ebx
push dword [eax + 0x14]
mov edx, 0x64603008
push dword [eax + 0x10]
push 0x4f
pop ecx
call fcn.64604495
jmp 0x64611fa4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
jne 0x64611df7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64611fa4
test byte [eax + 0x1c], 2
je 0x64611fa4
cmp byte [eax + 0x19], 2
jb 0x64611fa4
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x50
mov edx, 0x64603008
pop ecx
call fcn.64604471
jmp 0x64611fa4
test ebx, ebx
jne 0x64611fa4
push 0xd
pop esi
jmp 0x64611fa4
test al, 2
je 0x64611f45
test edi, edi
jne 0x64611e17
push 0x57
jmp 0x64611e01
lea ecx, [ebp - 0x41c]
mov edx, 0x104
test al, 1
je 0x64611e2e
push dword [ebp - 0x858]
jmp 0x64611e35
lea eax, [ebp - 0x214]
push eax
call fcn.646042d0
mov edi, eax
test edi, edi
jns 0x64611e89
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64611e6c
test byte [eax + 0x1c], 2
je 0x64611e6c
cmp byte [eax + 0x19], 2
jb 0x64611e6c
push edi
push dword [eax + 0x14]
mov edx, 0x64603008
push dword [eax + 0x10]
push 0x51
pop ecx
call fcn.64604471
mov eax, edi
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x64611e82
movzx esi, di
jmp 0x64611fa4
mov esi, edi
jmp 0x64611fa4
push 0x2c
pop edi
push edi
lea eax, [ebp - 0x890]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x890], edi
xor eax, eax
mov dword [ebp - 0x868], ebx
lea edi, [ebp - 0x854]
lea edx, [ebp - 0x890]
push 0xa
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x854]
mov dword [ebp - 0x854], 0x28
push eax
lea eax, [ebp - 0x85c]
push eax
push ecx
call fcn.64613f6e
test eax, eax
je 0x64611f9c
mov edx, dword [ebp - 0x850]
lea eax, [ebp - 0x41c]
mov ecx, dword [ebp - 0x860]
push eax
call fcn.64610bb8
test eax, eax
jne 0x64611f03
mov esi, 0x65b
push dword [ebp - 0x850]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
jne 0x64611fa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64611fa4
test byte [eax + 0x1c], 2
je 0x64611fa4
cmp byte [eax + 0x19], 2
jb 0x64611fa4
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x52
jmp 0x64611de7
test al, 1
je 0x64611f89
push esi
push ebx
push dword [ebp - 0x858]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x64611fa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x64617004]
cmp eax, 0x64617004
je 0x64611fa4
test byte [eax + 0x1c], 2
je 0x64611fa4
cmp byte [eax + 0x19], 2
jb 0x64611fa4
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x53
jmp 0x64611de7
push 0xd
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x64611fa4
push 0x6f
jmp 0x64611e01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x64611fc0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x64611fc3
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64615dc0
leave
ret 4