Function at 0x43d560
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615520
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6b1a94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov edi, dword [ebp + 8]
push dword [edi + 0x2c]
mov dword [edi + 0x34], 3
mov eax, dword [ebx]
push 1
call dword [eax + 0x1c]
lea ecx, [ebp - 0x20]
call fcn.0047fba0
mov edx, str.repair_cache_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0046c5b0
mov byte [ebp - 4], 1
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x43d5d6
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x43d5fa
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
cmp dword [edi], 0
je 0x43d61b
push dword [edi + 0x14]
push dword [ebx + 0x64]
push 0x67d2dc
jmp 0x43d652
cmp dword [edi + 4], 0
lea ecx, [ebp - 0x18]
push 4
je 0x43d63d
push str.x64_
call fcn.0040d6f0
push dword [edi + 0x14]
push dword [ebx + 0x64]
push str._s_x64__s
jmp 0x43d652
push str.x86_
call fcn.0040d6f0
push dword [edi + 0x14]
push dword [ebx + 0x64]
push str._s_x86__s
lea eax, [ebp - 0x1c]
push eax
call fcn.00403390
add esp, 0x10
lea eax, [ebp - 0x10]
push dword [edi + 0x14]
push dword [ebp - 0x18]
push 0x67d390
push eax
call fcn.00403390
add esp, 0x10
mov dword [ebp - 0x14], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d6b0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.0047e970
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 1
jne 0x43d6ac
cmp dword [edi], ecx
jne 0x43d6ac
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 4]
setne cl
test ecx, ecx
je 0x43d70e
push ecx
mov esi, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x30], esi
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebx - 0x10]
call fcn.00407830
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x28], esi
mov ecx, dword [edi + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x30], esp
call fcn.00407830
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00407830
mov ecx, dword [ebp - 0x2c]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.0043da20
jmp 0x43d711
mov ebx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.0047e970
test eax, eax
jne 0x43d767
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d748
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add ebx, 0xfffffff0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43d993
mov ecx, dword [ebx]
push ebx
jmp 0x43d98e
cmp dword [edi], 0
jne 0x43d774
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 4]
jne 0x43d720
mov dword [ebp - 0x24], 0
call fcn.00403fe0
mov ecx, eax
test ecx, ecx
jne 0x43d790
push 0x80004005
call fcn.00403d40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push dword [edi + 0x14]
push dword [ebp - 0x20]
push 0x67a150
push eax
call fcn.00403390
add esp, 0x10
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.0047e670
mov byte [ebp - 4], 7
or esi, 0xffffffff
cmp dword [edi], 0
je 0x43d7f3
mov ebx, dword [ebp - 0x10]
sub esp, 0xc
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.0044ac80
mov ecx, dword [edi + 0x1c]
add esp, 0xc
call fcn.0043c170
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
jmp 0x43d90a
cmp dword [edi + 4], 0
je 0x43d874
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.0047e670
mov byte [ebp - 4], 8
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x43d82a
push 0x80004005
call fcn.00403d40
mov edi, dword [ebp - 0x30]
push eax
push edi
call fcn.005eb5a9
mov esi, dword [ebp - 0x14]
add esp, 8
mov ebx, dword [ebp - 0x10]
xor ecx, ecx
test eax, eax
setns cl
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call eax
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x24], eax
call fcn.0047e970
push dword [ebp - 0x28]
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
jmp 0x43d8d3
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.0047e670
mov byte [ebp - 4], 9
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x43d894
push 0x80004005
call fcn.00403d40
mov edi, dword [ebp - 0x30]
push eax
push edi
call fcn.005eb5a9
mov esi, dword [ebp - 0x14]
add esp, 8
mov ebx, dword [ebp - 0x10]
xor ecx, ecx
test eax, eax
setns cl
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call eax
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x24], eax
call fcn.0047e970
mov dword [esi + 0x28], eax
call fcn.005ebbc6
mov ecx, 0x190
cdq
idiv ecx
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
or esi, 0xffffffff
mov byte [ebp - 4], 7
mov eax, esi
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43d907
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
cmp dword [edi], 0
jne 0x43d91e
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x24]
je 0x43d91e
mov dword [edi + 0x28], 0
mov byte [ebp - 4], 6
mov eax, esi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d93c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d95a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x43d975
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d993
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d9b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43d9d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
push dword [edi + 0x2c]
mov dword [edi + 0x34], 4
push 1
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4