Function at 0x10102850
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
jne 0x10102a78
cmp dword [esi + 0x14], edi
jne 0x10102889
push dword [esi + 8]
push dword [esi + 4]
push str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
push esi
call fcn.10102720
add esp, 0x10
mov dword [esi + 0x14], eax
cmp dword [esi + 0x28], edi
jne 0x10102a78
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 1
push dword [esi + 0x14]
call fcn.1004b390
push dword [esi + 0x14]
call fcn.10049de0
add esp, 0x14
cmp eax, 0x64
jne 0x10102a47
mov edi, dword [esi + 0x14]
test edi, edi
je 0x101028f6
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101028d1
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x101028e3
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x101028fb
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1010290e
cmp byte [ecx + 0x12], 1
jne 0x1010290e
mov ebx, dword [ecx + 0xc]
jmp 0x10102937
test al, 0x10
je 0x10102926
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x10102922
mov ebx, dword [ecx]
add ebx, edx
jmp 0x10102937
mov ebx, edx
jmp 0x10102937
test al, 1
je 0x1010292e
xor ebx, ebx
jmp 0x10102937
mov dl, 1
call fcn.10043c80
mov ebx, eax
test edi, edi
je 0x10102969
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1010294e
test edx, edx
jne 0x1010294e
xor eax, eax
jmp 0x10102953
call fcn.1001f020
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102969
push eax
call dword [0x10165b90]
add esp, 4
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x10102980
push 0x10150a48
call fcn.10048f10
mov dword [esp + 0x14], eax
jmp 0x101029fd
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102993
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [edi + 0x78]
test eax, eax
je 0x101029a5
xor ecx, ecx
cmp cx, word [edi + 0x90]
jb 0x101029bd
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022380
mov eax, 0x10150a48
push eax
call fcn.10048f10
mov ecx, dword [edi]
add esp, 4
mov edx, dword [edi + 0x24]
mov dword [esp + 0x10], eax
cmp byte [ecx + 0x57], 0
jne 0x101029dd
test edx, edx
jne 0x101029dd
xor eax, eax
jmp 0x101029e2
call fcn.1001f020
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102a00
push eax
call dword [0x10165b90]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], edi
add esp, 4
call fcn.100ca320
test eax, eax
je 0x10102a14
xor edi, edi
mov dword [esi + 0x28], 7
jmp 0x10102a44
mov eax, ebx
cdq
push edx
push eax
call fcn.1001e500
mov edi, eax
add esp, 8
test edi, edi
jne 0x10102a30
mov dword [esi + 0x28], 7
jmp 0x10102a44
push ebx
push dword [esp + 0x14]
push edi
call fcn.1012b000
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x14]
call fcn.10048db0
mov ecx, dword [esi + 0x28]
add esp, 4
test ecx, ecx
jne 0x10102a78
mov ecx, eax
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x10102a78
test edi, edi
jne 0x10102a78
push ebx
push dword [ebp + 8]
push str.Node__lld_missing_from_database
push esi
call fcn.101027f0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret