Function at 0x10103520
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 0x10103748
cmp dword [esi + 0x14], edi
jne 0x10103559
push dword [esi + 8]
push dword [esi + 4]
push str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
push esi
call fcn.101033f0
add esp, 0x10
mov dword [esi + 0x14], eax
cmp dword [esi + 0x28], edi
jne 0x10103748
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 1
push dword [esi + 0x14]
call fcn.1004b340
push dword [esi + 0x14]
call fcn.10049d90
add esp, 0x14
cmp eax, 0x64
jne 0x10103717
mov edi, dword [esi + 0x14]
test edi, edi
je 0x101035c6
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101035a1
push eax
call dword [0x10165b88]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x101035b3
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x101035cb
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov ecx, 0x10150a48
movzx eax, word [ecx + 0x10]
test al, 2
je 0x101035de
cmp byte [ecx + 0x12], 1
jne 0x101035de
mov ebx, dword [ecx + 0xc]
jmp 0x10103607
test al, 0x10
je 0x101035f6
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x101035f2
mov ebx, dword [ecx]
add ebx, edx
jmp 0x10103607
mov ebx, edx
jmp 0x10103607
test al, 1
je 0x101035fe
xor ebx, ebx
jmp 0x10103607
mov dl, 1
call fcn.10043c50
mov ebx, eax
test edi, edi
je 0x10103639
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1010361e
test edx, edx
jne 0x1010361e
xor eax, eax
jmp 0x10103623
call fcn.1001f000
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103639
push eax
call dword [0x10165b90]
add esp, 4
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x10103650
push 0x10150a48
call fcn.10048ec0
mov dword [esp + 0x14], eax
jmp 0x101036cd
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10103663
push eax
call dword [0x10165b88]
add esp, 4
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10103675
xor ecx, ecx
cmp cx, word [edi + 0x90]
jb 0x1010368d
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.10022340
mov eax, 0x10150a48
push eax
call fcn.10048ec0
mov ecx, dword [edi]
add esp, 4
mov edx, dword [edi + 0x24]
mov dword [esp + 0x10], eax
cmp byte [ecx + 0x57], 0
jne 0x101036ad
test edx, edx
jne 0x101036ad
xor eax, eax
jmp 0x101036b2
call fcn.1001f000
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x101036d0
push eax
call dword [0x10165b90]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], edi
add esp, 4
call fcn.100cb1b0
test eax, eax
je 0x101036e4
xor edi, edi
mov dword [esi + 0x28], 7
jmp 0x10103714
mov eax, ebx
cdq
push edx
push eax
call fcn.1001e4e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10103700
mov dword [esi + 0x28], 7
jmp 0x10103714
push ebx
push dword [esp + 0x14]
push edi
call fcn.1012ad80
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x14]
call fcn.10048d60
mov ecx, dword [esi + 0x28]
add esp, 4
test ecx, ecx
jne 0x10103748
mov ecx, eax
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x10103748
test edi, edi
jne 0x10103748
push ebx
push dword [ebp + 8]
push str.Node__lld_missing_from_database
push esi
call fcn.101034c0
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret