Function at 0x45e490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79baf7
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x12c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x198]
call fcn.0040cd50
mov dword [ebp - 4], 0
push 0x7de3e4
lea eax, [ebp - 0x198]
push eax
call fcn.006161b0
add esp, 8
lea ecx, [ebp - 0x198]
call fcn.00403c80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e540
lea ecx, [ebp - 0x198]
call fcn.00403c80
push eax
push str.CUserDB::_UpdateDBByLocalSQL__sql_zip__s_not_found
call fcn.00609060
add esp, 8
mov dword [ebp - 0x204], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x204]
jmp 0x45eb8b
lea ecx, [ebp - 0x148]
call fcn.0041ca70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x198]
push edx
call fcn.00614780
add esp, 8
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jg 0x45e5cc
mov eax, dword [ebp - 0x14c]
neg eax
push eax
lea ecx, [ebp - 0x198]
call fcn.00403c80
push eax
push str.CUserDB::_UpdateDBByLocalSQL__read_sql__s_failed__error__d
call fcn.00609060
add esp, 0xc
mov dword [ebp - 0x208], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x208]
jmp 0x45eb8b
lea ecx, [ebp - 0x148]
call fcn.004074b0
push eax
call fcn.0070a654
add esp, 4
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 0
jne 0x45e631
mov dword [ebp - 0x210], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x210]
jmp 0x45eb8b
lea ecx, [ebp - 0x148]
call fcn.004074b0
push eax
lea ecx, [ebp - 0x148]
call fcn.0045fb70
push eax
mov edx, dword [ebp - 0x128]
push edx
call fcn.007248d0
add esp, 0xc
lea ecx, [ebp - 0x148]
call fcn.004074b0
push eax
mov eax, dword [ebp - 0x128]
push eax
call fcn.006402b0
add esp, 8
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x45e6d1
lea ecx, [ebp - 0x198]
call fcn.00403c80
push eax
push str.CUserDB::_UpdateDBByLocalSQL__open_zip__s_failed
call fcn.00608b30
add esp, 8
mov dword [ebp - 0x214], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x214]
jmp 0x45eb8b
lea ecx, [ebp - 0x150]
call fcn.004033c0
mov byte [ebp - 4], 2
push 0x7de52c
mov ecx, dword [ebp + 8]
call fcn.00406c00
push eax
push str._s__s.sql
lea ecx, [ebp - 0x150]
push ecx
call fcn.00442470
add esp, 0x10
lea ecx, [ebp - 0x16c]
call fcn.0041ca70
mov byte [ebp - 4], 3
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x150]
call fcn.0040ca00
push eax
mov eax, dword [ebp - 0x19c]
push eax
call fcn.0045e2a0
add esp, 0xc
test eax, eax
jne 0x45e7b3
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.0063f1c0
add esp, 4
lea ecx, [ebp - 0x150]
call fcn.00404e70
push eax
push str.CUserDB::_UpdateDBByLocalSQL__sql_file__s_not_found
call fcn.00608b30
add esp, 8
mov dword [ebp - 0x218], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.00407400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00403420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x218]
jmp 0x45eb8b
push 0
push str.INCLUDE____._____
lea ecx, [ebp - 0x124]
call fcn.004422c0
mov byte [ebp - 4], 4
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x16c]
call fcn.00406c00
push eax
lea edx, [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x124]
call fcn.004423d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x17c]
call fcn.00442840
cmp eax, 1
jl 0x45ea80
push 0
lea ecx, [ebp - 0x17c]
call fcn.00442860
mov dword [ebp - 0x200], eax
push 0
lea ecx, [ebp - 0x17c]
call fcn.00442880
mov dword [ebp - 0x1e0], eax
push 1
lea ecx, [ebp - 0x17c]
call fcn.00442860
mov dword [ebp - 0x1a4], eax
push 1
lea ecx, [ebp - 0x17c]
call fcn.00442880
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
sub eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x1c0]
push edx
lea ecx, [ebp - 0x16c]
call fcn.00431d70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1fc]
call fcn.0041ca70
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00406c00
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
call fcn.0045e2a0
add esp, 0xc
test eax, eax
jne 0x45e95b
lea ecx, [ebp - 0x1c0]
call fcn.00406c00
push eax
push str.CUserDB::_UpdateDBByLocalSQL__include_sql__s_failed__error__d
call fcn.00608b30
add esp, 8
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1fc]
call fcn.00407400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.00407400
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.0043f330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.00407400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00403420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x21c]
jmp 0x45eb8b
mov edx, dword [ebp - 0x200]
push edx
push 0
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x16c]
call fcn.00431d70
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.0045fb30
mov edx, dword [0x82f424]
push edx
mov eax, dword [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x16c]
call fcn.00431d70
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0045fb30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x238]
call fcn.00407400
lea ecx, [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x16c]
call fcn.0045fbb0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x16c]
call fcn.00406c00
push eax
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x124]
call fcn.004423d0
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x17c]
call fcn.00462480
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x248]
call fcn.0040bd90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1dc]
call fcn.00407400
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1fc]
call fcn.00407400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.00407400
jmp 0x45e7ef
mov edx, dword [ebp - 0x19c]
push edx
call fcn.0063f1c0
add esp, 4
mov dword [ebp - 0x19c], 0
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x254]
call fcn.0045ebb0
test eax, eax
jne 0x45eb1e
mov dword [ebp - 0x24c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.0043f330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.00407400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00403420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x24c]
jmp 0x45eb8b
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x17c]
call fcn.0040bd90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.0043f330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.00407400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00403420
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00407400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x198]
call fcn.00403c30
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x12c]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4