Function at 0x4378c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b63c
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5d5440]
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.00553b10
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.00468780
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x437991
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004908a0
mov edx, dword [ebp - 0x260]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4379d7
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4379cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437c37
push edx
push ecx
call fcn.004671e6
add esp, 8
cmp dword [ebp - 0x220], 0
je 0x437a1c
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.00437c60
test eax, eax
js 0x437c19
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.00437c60
test eax, eax
js 0x437c19
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.00437c60
test eax, eax
js 0x437c19
push 0xfde9
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.00468780
mov edi, eax
add esi, 0xc
add esp, 0xc
cmp esi, edi
je 0x437aa5
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x437a73
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x437a69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437c37
mov eax, edx
push ecx
push eax
call fcn.004671e6
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 0x437adf
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x437ad5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437c3c
push edx
push ecx
call fcn.004671e6
add esp, 8
mov edi, 1
jmp 0x437c19
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.0046748e
mov esp, ebp
pop ebp
ret
call fcn.0055718a
call fcn.0055718a
int3