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

Disassembly:
push 0xffffffffffffffff
push 0x50ef1e
mov eax, dword fs:[0]
push eax
sub esp, 0x130
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebp, dword [esp + 0x154]
mov eax, dword [ebp + 4]
dec eax
cmp eax, 4
ja case.0x442e65.4
jmp dword [eax*4 + 0x443204]
mov ebx, dword [esp + 0x15c]
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00435bd0
lea ecx, [esp + 0x2c]
push ebp
push ecx
mov ebx, esi
mov dword [esp + 0x15c], 0
call fcn.00435bd0
lea edx, [esp + 0x48]
push ebp
push edx
mov ebx, edi
mov byte [esp + 0x164], 1
call fcn.00435bd0
push eax
lea eax, [esp + 0x38]
push eax
mov ebx, str..patch
mov byte [esp + 0x16c], 2
call fcn.00418040
add esp, 0x20
mov byte [esp + 0x14c], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442eee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], 0
lea eax, [ebp + 0x10]
je 0x442f31
mov ebx, dword [esp + 0x15c]
push eax
lea edx, [esp + 0x34]
push edx
call fcn.00435bd0
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x14c], 5
call fcn.00405050
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 4
call fcn.00406e40
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x15c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004444d0
test eax, eax
jne 0x442f89
mov ecx, dword [ebp]
push ecx
push str.apply_patch_for__S_failed
mov ecx, 0x548980
call fcn.004dfa90
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.00406e40
lea ecx, [esp + 0x24]
call fcn.00406e40
lea ecx, [esp + 0x18]
call fcn.00406e40
xor eax, eax
jmp 0x4431e8
lea esi, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.004a4900
lea edx, [esp + 0x2c]
mov byte [esp + 0x14c], 6
mov ecx, dword [ebp + 0xc]
push edx
call fcn.0041cf00
test eax, eax
je 0x442fd5
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push str.patched_file_md5_not_match___S_vs__S
mov ecx, 0x548980
call fcn.004dfa90
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00406e40
jmp 0x442f67
lea ecx, [esp + 0x2c]
call fcn.00406e40
lea ecx, [esp + 0x1c]
call fcn.00406e40
lea ecx, [esp + 0x24]
call fcn.00406e40
lea ecx, [esp + 0x18]
jmp 0x4431de
lea edx, [esp + 0x34]
push ebp
push edx
mov ebx, esi
call fcn.00435bd0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg case.0x442e65.4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp case.0x442e65.4
lea ecx, [esp + 0x1c]
push ebp
push ecx
mov ebx, edi
call fcn.00435bd0
lea edx, [esp + 0x20]
push ebp
push edx
mov ebx, esi
mov dword [esp + 0x15c], 7
call fcn.00435bd0
add esp, 0x10
mov byte [esp + 0x14c], 8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push 3
mov dword [esp + 0x40], eax
push ecx
lea eax, [esp + 0x44]
call fcn.00428d80
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x4430a3
push eax
call fcn.004ead0a
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4430f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push str.copy_file__S_to__S_failed:__u
mov ecx, 0x548980
call fcn.004dfa90
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00406e40
lea ecx, [esp + 0x1c]
call fcn.00406e40
xor eax, eax
jmp 0x4431e8
lea ecx, [esp + 0x18]
call fcn.00406e40
lea ecx, [esp + 0x1c]
jmp 0x4431de
lea eax, [ebp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, esi
call fcn.00435bd0
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x15c], 9
call fcn.00435bd0
add esp, 0x10
mov byte [esp + 0x14c], 0xa
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc4]
push 3
mov dword [esp + 0xc4], eax
push ecx
lea eax, [esp + 0xc8]
call fcn.00428d80
mov edx, dword [esp + 0xc0]
push edx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0xc4]
cmp eax, ecx
je 0x443182
push eax
call fcn.004ead0a
add esp, 4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4431d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push str.move_file__S_to__S_failed:__u
mov ecx, 0x548980
call fcn.004dfa90
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00406e40
lea ecx, [esp + 0x28]
call fcn.00406e40
xor eax, eax
jmp 0x4431e8
lea ecx, [esp + 0x20]
call fcn.00406e40
lea ecx, [esp + 0x28]
call fcn.00406e40
mov eax, 1
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 0xc