Function at 0x4154e0
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464333
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.00408270
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415523
jmp 0x415761
mov eax, dword [ebp + 8]
push eax
push str.data_
lea ecx, [ebp - 0x90]
push ecx
call fcn.00418ce0
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 0
push str..dat
mov eax, dword [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00418da0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.004082c0
call fcn.00416440
mov ecx, eax
call fcn.004022f0
push eax
lea ecx, [ebp - 0x78]
call fcn.00410860
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00408270
push eax
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x40]
call fcn.00444a60
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.004082c0
push 3
lea ecx, [ebp - 0x40]
call fcn.00408270
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408270
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x46dec8
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb0
add esp, 8
movzx eax, al
test eax, eax
je 0x415607
mov dword [ebp - 0x54], 3
lea ecx, [ebp - 0x54]
push ecx
mov ecx, 0x49c084
call fcn.004166e0
push str.CheckDbNewFile_pushback:_ICOM_EN_PARAM_DB_BAS_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x415746
push 0x46df30
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb0
add esp, 8
movzx eax, al
test eax, eax
je 0x415649
mov dword [ebp - 0x4c], 4
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x49c084
call fcn.004166e0
push str.CheckDbNewFile_pushback:_ICOM_EN_PARAM_DB_EAS_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x415746
push 0x46df98
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb0
add esp, 8
movzx eax, al
test eax, eax
je 0x41568b
mov dword [ebp - 0x50], 5
lea ecx, [ebp - 0x50]
push ecx
mov ecx, 0x49c084
call fcn.004166e0
push str.CheckDbNewFile_pushback:_ICOM_EN_PARAM_DB_ESS_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x415746
push 0x46e000
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb0
add esp, 8
movzx eax, al
test eax, eax
je 0x4156ca
mov dword [ebp - 0x44], 6
lea ecx, [ebp - 0x44]
push ecx
mov ecx, 0x49c084
call fcn.004166e0
push str.CheckDbNewFile_pushback:_ICOM_EN_PARAM_DB_RMS_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x415746
push 0x46e068
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb0
add esp, 8
movzx eax, al
test eax, eax
je 0x415709
mov dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, 0x49c084
call fcn.004166e0
push str.CheckDbNewFile_pushback:_ICOM_EN_PARAM_DB_STU_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
jmp 0x415746
push 0x46e0d0
mov edx, dword [ebp + 8]
push edx
call fcn.00418cb0
add esp, 8
movzx eax, al
test eax, eax
je 0x415746
mov dword [ebp - 0x48], 9
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x49c084
call fcn.004166e0
push str.CheckDbNewFile_pushback:_ICOM_EN_PARAM_DB_UIS_
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004082c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004082c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret