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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10133040
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2e4
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 0x1001d66f
mov ecx, dword [ebp - 0x1d8]
call fcn.1001d370
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 0x1001d6b3
push 0
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x1dc]
call fcn.1001d340
cmp dword [ebp - 0x1e8], 0
jne 0x1001da50
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x1d8]
add ecx, 4
call fcn.10012a40
push eax
lea ecx, [ebp - 0x1dc]
call fcn.1000c8e0
movzx ecx, al
test ecx, ecx
je 0x1001da50
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 0x1001d74c
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 0x1001da80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.100371f0
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1d4]
call fcn.10010af0
push eax
lea ecx, [ebp - 0x22c]
call fcn.10037d90
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x1e4]
call fcn.10015710
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 4
push 0x10139a5c
push 0x10139a64
lea ecx, [ebp - 0x1e4]
call fcn.1001b9a0
lea ecx, [ebp - 0x1e0]
call fcn.100157e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1e4]
push eax
push 0x10139a68
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.1001a9f0
add esp, 0xc
lea ecx, [ebp - 0x1e0]
call fcn.10010af0
push eax
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x22c]
call fcn.10037a10
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x25c]
call fcn.100376e0
mov byte [ebp - 0x1cd], al
movzx eax, byte [ebp - 0x1cd]
test eax, eax
jne 0x1001d88d
push 0x10139a16
push 0x10139bb0
lea ecx, [ebp - 0x25c]
call fcn.10037cf0
mov dword [ebp - 0x1f8], eax
push 0xfde9
mov ecx, dword [ebp - 0x1f8]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.1001a900
mov dword [ebp - 0x1fc], eax
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], edx
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 - 0x25c]
call fcn.10037c30
lea ecx, [ebp - 0x22c]
call fcn.10037600
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x25c]
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 0x1001da3b
mov dword [ebp - 4], 1
jmp 0x1001da4b
jmp 0x1001d69f
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x20c], 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 - 0x20c]
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