Function at 0x426f30
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.004f78e0
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110c], ecx
mov eax, dword [ebp - 0x110c]
cmp dword [eax + 4], 0
je 0x426f63
mov eax, 1
jmp 0x4272ce
push 0x52f024
lea ecx, [ebp - 0x10e4]
call fcn.0041d0c0
call fcn.004d8c30
test eax, eax
je 0x426f9f
lea ecx, [ebp - 0x10e4]
push ecx
call fcn.0042e9d0
add esp, 4
test eax, eax
je 0x426f9f
push 0x52f028
lea ecx, [ebp - 0x10e4]
call fcn.0041d180
lea ecx, [ebp - 0x10e4]
call fcn.0041d300
movzx edx, al
test edx, edx
je 0x427060
lea ecx, [ebp - 0x10ec]
call fcn.0041d080
lea eax, [ebp - 0x10ec]
push eax
call fcn.0042e9d0
add esp, 4
test eax, eax
je 0x426fe3
push 0x52f058
lea ecx, [ebp - 0x10ec]
call fcn.0041d180
lea ecx, [ebp - 0x10f4]
push ecx
call fcn.00427d30
add esp, 4
push eax
lea ecx, [ebp - 0x10e4]
call fcn.0041d120
lea ecx, [ebp - 0x10f4]
call fcn.0041d100
lea ecx, [ebp - 0x10e4]
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427055
lea ecx, [ebp - 0x10ec]
call fcn.0041d2b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427055
push 0
lea ecx, [ebp - 0x10e4]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 0x10ec]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10ec]
call fcn.0041d100
mov dword [ebp - 0x10e0], 0
push 0x10d0
push 0
lea edx, [ebp - 0x10dc]
push edx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x10e8], 0
mov dword [ebp - 0x10e0], 0x10d4
push 0x52f088
push 0x3c
lea eax, [ebp - 0x10dc]
push eax
call fcn.0042d420
push 0x52f094
push 0x3c
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.0042d420
lea ecx, [ebp - 0x10e4]
call fcn.0041d2b0
push eax
push 0x208
lea edx, [ebp - 0x105c]
push edx
call fcn.0042d420
mov dword [ebp - 0x1064], 0x1400000
mov dword [ebp - 0x224], 0xea60
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x110c]
cmp dword [eax], 0
je 0x427189
lea ecx, [ebp - 0x10e8]
push ecx
lea edx, [ebp - 0x10e0]
push edx
mov eax, dword [ebp - 0x110c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x110c]
mov eax, dword [edx]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp - 0x110c]
mov dword [ecx + 4], eax
mov dword [ebp - 0x10f0], 1
lea edx, [ebp - 0x10f0]
push edx
push 8
mov eax, dword [ebp - 0x110c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x110c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x110c]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [edx + 0x48]
call eax
mov dword [ebp - 0x10f8], eax
lea ecx, [ebp - 0x10e4]
call fcn.0041d100
mov eax, dword [ebp - 0x10f8]
jmp 0x4272ce
push 0x52f0a0
push 0x52f0a4
lea ecx, [ebp - 0x10fc]
push ecx
call fcn.0041b740
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x110c]
mov dword [edx + 0x44], eax
lea ecx, [ebp - 0x10fc]
call fcn.0041d100
mov eax, dword [ebp - 0x110c]
cmp dword [eax + 0x44], 0
je 0x4272b3
push 0x52f0d4
mov ecx, dword [ebp - 0x110c]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x110c]
mov dword [ecx + 0x4c], eax
push 0x52f0e8
mov edx, dword [ebp - 0x110c]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x110c]
mov dword [ecx + 0x50], eax
push str.SmartCacheQueryHips
mov edx, dword [ebp - 0x110c]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x110c]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 0x110c]
cmp dword [edx + 0x4c], 0
je 0x427252
mov eax, dword [ebp - 0x110c]
cmp dword [eax + 0x50], 0
je 0x427252
mov ecx, dword [ebp - 0x110c]
cmp dword [ecx + 0x48], 0
jne 0x427271
mov dword [ebp - 0x1100], 0
lea ecx, [ebp - 0x10e4]
call fcn.0041d100
mov eax, dword [ebp - 0x1100]
jmp 0x4272ce
lea edx, [ebp - 0x10e8]
push edx
lea eax, [ebp - 0x10e0]
push eax
mov ecx, dword [ebp - 0x110c]
mov edx, dword [ecx + 0x4c]
call edx
add esp, 8
mov ecx, dword [ebp - 0x110c]
mov dword [ecx + 4], eax
mov dword [ebp - 0x1104], 1
lea ecx, [ebp - 0x10e4]
call fcn.0041d100
mov eax, dword [ebp - 0x1104]
jmp 0x4272ce
mov dword [ebp - 0x1108], 0
lea ecx, [ebp - 0x10e4]
call fcn.0041d100
mov eax, dword [ebp - 0x1108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret