Function at 0x1001c680
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101857ee
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x101ec05c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x258], eax
mov eax, dword [0x101f7848]
mov esi, ecx
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x260], edi
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], edi
jne 0x1001c70f
lea ecx, [ebp - 0x268]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
cmp esi, ecx
je 0x1001cbf4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x1001cbf4
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ebx, eax
cmp ebx, edi
jne 0x1001c763
lea ecx, [ebp - 0x268]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
cmp esi, ecx
je 0x1001c750
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x260]
mov dword [esi], edx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x1001cbf4
mov eax, dword [ebp - 0x268]
cmp eax, edi
je 0x1001cbf4
jmp 0x1001cbea
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x26c], edi
je 0x1001c95e
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push edi
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x258]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1001c7a5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x218]
push str.SELECT_FDoParsed_FParseFaileds_FData_FROM_tbKPCacheImage_WHERE_FImgurl_s
push ecx
mov edx, 0x104
call fcn.1000fbe0
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
add esp, 0xc
push 1
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call edx
mov edi, eax
mov dword [ebp - 0x27c], edi
test edi, edi
je 0x1001c8d9
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test al, al
jne 0x1001c8cf
mov eax, str.FDoParsed
lea ecx, [ebp - 0x234]
call fcn.10001690
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call edx
lea esi, [ebp - 0x234]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0
call fcn.100016d0
mov eax, str.FParseFaileds
lea ecx, [ebp - 0x234]
call fcn.10001690
mov byte [ebp - 4], 2
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call edx
lea esi, [ebp - 0x234]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0
call fcn.100016d0
cmp dword [ebp - 0x274], 1
jne 0x1001c8c9
mov eax, str.FData
lea ecx, [ebp - 0x250]
call fcn.10001690
mov byte [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 0x4c]
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ecx, edi
call eax
mov edi, eax
lea esi, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.10019800
lea esi, [ebp - 0x228]
call fcn.10003c80
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.100016d0
mov edi, dword [ebp - 0x27c]
mov esi, dword [ebp - 0x270]
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x264]
sub ecx, dword [ebp - 0x268]
jne 0x1001cb7f
mov eax, dword [ebp - 0x274]
cmp eax, 1
je 0x1001c903
test eax, eax
jne 0x1001c93d
cmp dword [ebp - 0x26c], 1
jle 0x1001c93d
mov eax, dword [ebp - 0x258]
cmp dword [eax + 0x14], 8
jb 0x1001c911
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x218]
push str.UPDATE_tbKPCacheImage_SET_FDoParsed0_FParseFaileds0_WHERE_FImgurl_s
push edx
mov edx, 0x104
call fcn.1000fbe0
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
add esp, 0xc
push 1
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
call edx
mov edi, dword [ebp - 0x278]
mov ecx, edi
call fcn.1001cdf0
test al, al
je 0x1001cb7f
mov esi, edi
call fcn.1001cca0
jmp 0x1001cb79
mov eax, dword [ebp - 0x258]
push eax
push ebx
mov ecx, str.FImgurl
call fcn.1000ee90
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
push 1
push str.SELECT_FDoParsed_FData_FROM_tbKPCacheImage_WHERE_FImgurl_FImgurl
mov ecx, ebx
call eax
mov edi, eax
mov dword [ebp - 0x26c], edi
test edi, edi
je 0x1001ca8f
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
test al, al
jne 0x1001ca8f
mov eax, str.FDoParsed
lea ecx, [ebp - 0x250]
call fcn.10001690
mov byte [ebp - 4], 7
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x250]
push eax
mov ecx, edi
call edx
test eax, eax
lea esi, [ebp - 0x250]
sete byte [ebp - 0x251]
mov byte [ebp - 4], 0
call fcn.100016d0
cmp byte [ebp - 0x251], 0
je 0x1001ca03
mov edx, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x268]
push eax
call fcn.1001d410
jmp 0x1001cb6b
mov eax, str.FData
lea ecx, [ebp - 0x250]
call fcn.10001690
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 8
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov ecx, edi
call edx
mov edi, eax
lea esi, [ebp - 0x268]
mov byte [ebp - 4], 9
call fcn.10019800
lea esi, [ebp - 0x228]
call fcn.10003c80
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.100016d0
lea eax, [ebp - 0x230]
call fcn.100072e0
lea eax, [ebp - 0x230]
push eax
push ebx
call fcn.1000f100
mov ecx, dword [ebp - 0x258]
push ecx
push ebx
mov ecx, str.FImgurl
call fcn.1000ee90
push 1
push str.UPDATE_tbKPCacheImage_SET_FCitesFCites1_FOptDate_FOptDate_WHERE_FImgurl_FImgurl
jmp 0x1001cb5c
mov edx, dword [ebp - 0x258]
cmp dword [edx + 0x14], 8
jb 0x1001ca9d
mov edx, dword [edx]
lea ecx, [ebp - 0x250]
push 0
push ecx
call fcn.100071d0
push 0
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 5
call fcn.10004ea0
add esp, 0x10
mov edi, eax
lea esi, [ebp - 0x268]
mov byte [ebp - 4], 6
call fcn.10019800
mov eax, dword [ebp - 0x228]
xor esi, esi
cmp eax, esi
je 0x1001cae7
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x23c], 0x10
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
jb 0x1001cb16
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x258]
push eax
push ebx
mov ecx, str.FImgurl
call fcn.1000ee90
lea ecx, [ebp - 0x268]
push ecx
push ebx
call fcn.1000f220
mov edx, dword [ebp - 0x264]
sub edx, dword [ebp - 0x268]
xor eax, eax
cmp eax, edx
sbb ecx, ecx
neg ecx
push ecx
push ebx
mov ecx, str.FDoParsed
call fcn.1000ed50
push 1
push str.INSERT_INTO_tbKPCacheImage_FImgurl_FData_FDoParsed__VALUES__FImgurl__FData__FDoParsed_
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov edi, dword [ebp - 0x26c]
test edi, edi
je 0x1001cb79
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov esi, dword [ebp - 0x270]
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
xor eax, eax
lea ecx, [ebp - 0x268]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
cmp esi, ecx
je 0x1001cbc9
mov edx, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x264]
mov dword [esi], edx
mov edx, dword [ebp - 0x260]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x268], eax
je 0x1001cbf4
lea ecx, [ebp - 0x268]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1017eae7
mov esp, ebp
pop ebp
ret 8