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

Disassembly:
push 0xffffffffffffffff
push 0x49e35e
mov eax, dword fs:[0]
push eax
sub esp, 0x130
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c02a0]
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.0x433a05.4
jmp dword [eax*4 + 0x433da4]
mov ebx, dword [esp + 0x15c]
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.004264f0
lea ecx, [esp + 0x2c]
push ebp
push ecx
mov ebx, esi
mov dword [esp + 0x15c], 0
call fcn.004264f0
lea edx, [esp + 0x48]
push ebp
push edx
mov ebx, edi
mov byte [esp + 0x164], 1
call fcn.004264f0
push eax
lea eax, [esp + 0x38]
push eax
mov ebx, str..patch
mov byte [esp + 0x16c], 2
call fcn.00412200
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 0x433a8e
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 0x433ad1
mov ebx, dword [esp + 0x15c]
push eax
lea edx, [esp + 0x34]
push edx
call fcn.004264f0
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x14c], 5
call fcn.00404fc0
lea ecx, [esp + 0x30]
mov byte [esp + 0x14c], 4
call fcn.00406e10
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.00435070
test eax, eax
jne 0x433b29
mov ecx, dword [ebp]
push ecx
push str.apply_patch_for__S_failed
mov ecx, 0x4c5908
call fcn.00472890
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.00406e10
lea ecx, [esp + 0x24]
call fcn.00406e10
lea ecx, [esp + 0x18]
call fcn.00406e10
xor eax, eax
jmp 0x433d88
lea esi, [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.00436d50
lea edx, [esp + 0x2c]
mov byte [esp + 0x14c], 6
mov ecx, dword [ebp + 0xc]
push edx
call fcn.0041f8e0
test eax, eax
je 0x433b75
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, 0x4c5908
call fcn.00472890
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00406e10
jmp 0x433b07
lea ecx, [esp + 0x2c]
call fcn.00406e10
lea ecx, [esp + 0x1c]
call fcn.00406e10
lea ecx, [esp + 0x24]
call fcn.00406e10
lea ecx, [esp + 0x18]
jmp 0x433d7e
lea edx, [esp + 0x34]
push ebp
push edx
mov ebx, esi
call fcn.004264f0
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.0x433a05.4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp case.0x433a05.4
lea ecx, [esp + 0x1c]
push ebp
push ecx
mov ebx, edi
call fcn.004264f0
lea edx, [esp + 0x20]
push ebp
push edx
mov ebx, esi
mov dword [esp + 0x15c], 7
call fcn.004264f0
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.004355c0
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 0x433c43
push eax
call fcn.0047d363
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 0x433c95
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, 0x4c5908
call fcn.00472890
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00406e10
lea ecx, [esp + 0x1c]
call fcn.00406e10
xor eax, eax
jmp 0x433d88
lea ecx, [esp + 0x18]
call fcn.00406e10
lea ecx, [esp + 0x1c]
jmp 0x433d7e
lea eax, [ebp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, esi
call fcn.004264f0
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x15c], 9
call fcn.004264f0
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.004355c0
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 0x433d22
push eax
call fcn.0047d363
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 0x433d71
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, 0x4c5908
call fcn.00472890
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.00406e10
lea ecx, [esp + 0x28]
call fcn.00406e10
xor eax, eax
jmp 0x433d88
lea ecx, [esp + 0x20]
call fcn.00406e10
lea ecx, [esp + 0x28]
call fcn.00406e10
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