Function at 0x42fa50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x224], esi
push 0x208
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x228], edi
push edi
push eax
call fcn.00549aa0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ibs.db
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
mov eax, edi
cmove eax, ecx
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push 0xfde9
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.004632d0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x42fb21
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00486ba0
mov edx, dword [ebp - 0x260]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42fb67
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fb5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fdc7
push edx
push ecx
call fcn.0045dbd6
add esp, 8
cmp dword [ebp - 0x220], 0
je 0x42fbac
push str.CREATE_TABLE_IF_NOT_EXISTS_InterceptHistory__id_INTEGER_PRIMARY_KEY_software_TEXT__promoter_TEXT__time_stamp_INTEGER__is_manual_INTEGER_
mov ecx, esi
call fcn.0042fdf0
test eax, eax
js 0x42fda9
push str._n____________CREATE_TABLE_IF_NOT_EXISTS_AllowHistory___n________________id_INTEGER_PRIMARY_KEY__n________________software_TEXT__n________________promoter_TEXT__n________________time_stamp_INTEGER__n________________is_manual_INTEGER_n______________n
mov ecx, esi
call fcn.0042fdf0
test eax, eax
js 0x42fda9
push str.CREATE_TABLE_IF_NOT_EXISTS_AutoOperateList__hash_key_TEXT_PRIMARY_KEY_operation_INTEGER__software_TEXT__promoter_TEXT__count_INTEGER_
mov ecx, esi
call fcn.0042fdf0
test eax, eax
js 0x42fda9
push 0xfde9
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.004632d0
mov edi, eax
add esi, 0xc
add esp, 0xc
cmp esi, edi
je 0x42fc35
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x42fc03
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x42fbf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fdc7
mov eax, edx
push ecx
push eax
call fcn.0045dbd6
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x42fc6f
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42fc65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fdcc
push edx
push ecx
call fcn.0045dbd6
add esp, 8
mov edi, 1
jmp 0x42fda9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
call fcn.0054d11a
call fcn.0054d11a
int3