Function at 0x1010e160
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 0x1010e388
cmp dword [esi + 0x14], edi
jne 0x1010e199
push dword [esi + 8]
push dword [esi + 4]
push str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
push esi
call fcn.1010e030
add esp, 0x10
mov dword [esi + 0x14], eax
cmp dword [esi + 0x28], edi
jne 0x1010e388
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 1
push dword [esi + 0x14]
call fcn.10056380
push dword [esi + 0x14]
call fcn.10054c20
add esp, 0x14
cmp eax, 0x64
jne 0x1010e357
mov edi, dword [esi + 0x14]
test edi, edi
je 0x1010e206
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010e1e1
push eax
call dword [0x10177b98]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1010e1f3
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x1010e20b
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov ecx, 0x10161a88
movzx eax, word [ecx + 0x10]
test al, 2
je 0x1010e21e
cmp byte [ecx + 0x12], 1
jne 0x1010e21e
mov ebx, dword [ecx + 0xc]
jmp 0x1010e247
test al, 0x10
je 0x1010e236
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x1010e232
mov ebx, dword [ecx]
add ebx, edx
jmp 0x1010e247
mov ebx, edx
jmp 0x1010e247
test al, 1
je 0x1010e23e
xor ebx, ebx
jmp 0x1010e247
mov dl, 1
call fcn.1004e750
mov ebx, eax
test edi, edi
je 0x1010e279
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x1010e25e
test edx, edx
jne 0x1010e25e
xor eax, eax
jmp 0x1010e263
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010e279
push eax
call dword [0x10177ba0]
add esp, 4
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x1010e290
push 0x10161a88
call fcn.10053df0
mov dword [esp + 0x14], eax
jmp 0x1010e30d
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010e2a3
push eax
call dword [0x10177b98]
add esp, 4
mov eax, dword [edi + 0x78]
test eax, eax
je 0x1010e2b5
xor ecx, ecx
cmp cx, word [edi + 0x90]
jb 0x1010e2cd
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002a360
mov eax, 0x10161a88
push eax
call fcn.10053df0
mov ecx, dword [edi]
add esp, 4
mov edx, dword [edi + 0x24]
mov dword [esp + 0x10], eax
cmp byte [ecx + 0x57], 0
jne 0x1010e2ed
test edx, edx
jne 0x1010e2ed
xor eax, eax
jmp 0x1010e2f2
call fcn.100272e0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1010e310
push eax
call dword [0x10177ba0]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], edi
add esp, 4
call fcn.100d6670
test eax, eax
je 0x1010e324
xor edi, edi
mov dword [esi + 0x28], 7
jmp 0x1010e354
mov eax, ebx
cdq
push edx
push eax
call fcn.100267c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1010e340
mov dword [esi + 0x28], 7
jmp 0x1010e354
push ebx
push dword [esp + 0x14]
push edi
call fcn.10139d00
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x14]
call fcn.10053c90
mov ecx, dword [esi + 0x28]
add esp, 4
test ecx, ecx
jne 0x1010e388
mov ecx, eax
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x1010e388
test edi, edi
jne 0x1010e388
push ebx
push dword [ebp + 8]
push str.Node__lld_missing_from_database
push esi
call fcn.1010e100
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret