Function at 0x1001bec0
Capabilities:
Check if file exists
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10132e30
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2e0
mov eax, dword [0x10167b84]
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 dword [ebp - 0x1d8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1d8]
add ecx, 4
call fcn.10012a00
movzx eax, al
test eax, eax
je 0x1001bf1f
mov ecx, dword [ebp - 0x1d8]
call fcn.1001bcc0
lea ecx, [ebp - 0x1dc]
push ecx
mov ecx, dword [ebp - 0x1d8]
add ecx, 4
call fcn.100117c0
lea ecx, [ebp - 0x1d4]
call fcn.100157e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1e8], 0
jmp 0x1001bf5a
lea ecx, [ebp - 0x1dc]
call fcn.1001a950
cmp dword [ebp - 0x1e8], 0
jne 0x1001c2f2
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x1d8]
add ecx, 4
call fcn.10012a40
push eax
lea ecx, [ebp - 0x1dc]
call fcn.1000c8e0
movzx eax, al
test eax, eax
je 0x1001c2f2
lea ecx, [ebp - 0x1dc]
call fcn.10007810
push eax
lea ecx, [ebp - 0x1d4]
call fcn.10018670
lea ecx, [ebp - 0x1d4]
call fcn.10010af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001bff3
mov dword [ebp - 0x1f4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d4]
call fcn.100159b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100159b0
mov eax, dword [ebp - 0x1f4]
jmp 0x1001c322
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.100371f0
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d4]
call fcn.10010af0
push eax
lea ecx, [ebp - 0x22c]
call fcn.10037d90
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x1e4]
call fcn.10015710
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 4
push 0x10139554
push 0x1013955c
lea ecx, [ebp - 0x1e4]
call fcn.1001b9a0
lea ecx, [ebp - 0x1e0]
call fcn.100157e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1e4]
push edx
push 0x10139560
lea eax, [ebp - 0x1e0]
push eax
call fcn.1001a9f0
add esp, 0xc
lea ecx, [ebp - 0x1e0]
call fcn.10010af0
push eax
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.10037a10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x258]
call fcn.100376e0
mov byte [ebp - 0x1cd], al
movzx edx, byte [ebp - 0x1cd]
test edx, edx
jne 0x1001c12f
push 0x1013966c
lea ecx, [ebp - 0x258]
call fcn.10037bf0
mov dword [ebp - 0x1f8], eax
push 0xfde9
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.1001a900
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x200]
call fcn.10010af0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10015ac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1cc]
call fcn.100159d0
mov dword [ebp - 0x1e8], 1
lea ecx, [ebp - 0x258]
call fcn.10037c30
lea ecx, [ebp - 0x22c]
call fcn.10037600
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x258]
call fcn.10037420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e0]
call fcn.100159b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1e4]
call fcn.100159b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.10037370
jmp 0x1001c2dd
mov dword [ebp - 4], 1
jmp 0x1001c2ed
jmp 0x1001bf4f
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1d4]
call fcn.100159b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100159b0
mov eax, dword [ebp - 0x21c]
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.100faee9
mov esp, ebp
pop ebp
ret 8