Function at 0x10102cd0
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 0x10102ef8
cmp dword [esi + 0x14], edi
jne 0x10102d09
push dword [esi + 8]
push dword [esi + 4]
push str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
push esi
call fcn.10102ba0
add esp, 0x10
mov dword [esi + 0x14], eax
cmp dword [esi + 0x28], edi
jne 0x10102ef8
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 1
push dword [esi + 0x14]
call fcn.1004b1a0
push dword [esi + 0x14]
call fcn.10049bf0
add esp, 0x14
cmp eax, 0x64
jne 0x10102ec7
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10102d76
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102d51
push eax
call dword [0x10165b48]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10102d63
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x10102d7b
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov ecx, 0x10151998
movzx eax, word [ecx + 0x10]
test al, 2
je 0x10102d8e
cmp byte [ecx + 0x12], 1
jne 0x10102d8e
mov ebx, dword [ecx + 0xc]
jmp 0x10102db7
test al, 0x10
je 0x10102da6
mov edx, dword [ecx + 0xc]
test eax, 0x400
je 0x10102da2
mov ebx, dword [ecx]
add ebx, edx
jmp 0x10102db7
mov ebx, edx
jmp 0x10102db7
test al, 1
je 0x10102dae
xor ebx, ebx
jmp 0x10102db7
mov dl, 1
call fcn.10043b00
mov ebx, eax
test edi, edi
je 0x10102de9
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x10102dce
test edx, edx
jne 0x10102dce
xor eax, eax
jmp 0x10102dd3
call fcn.1001ecd0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102de9
push eax
call dword [0x10165b50]
add esp, 4
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x10102e00
push 0x10151998
call fcn.10048d20
mov dword [esp + 0x14], eax
jmp 0x10102e7d
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102e13
push eax
call dword [0x10165b48]
add esp, 4
mov eax, dword [edi + 0x78]
test eax, eax
je 0x10102e25
xor ecx, ecx
cmp cx, word [edi + 0x90]
jb 0x10102e3d
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.100220a0
mov eax, 0x10151998
push eax
call fcn.10048d20
mov ecx, dword [edi]
add esp, 4
mov edx, dword [edi + 0x24]
mov dword [esp + 0x10], eax
cmp byte [ecx + 0x57], 0
jne 0x10102e5d
test edx, edx
jne 0x10102e5d
xor eax, eax
jmp 0x10102e62
call fcn.1001ecd0
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10102e80
push eax
call dword [0x10165b50]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], edi
add esp, 4
call fcn.100cad40
test eax, eax
je 0x10102e94
xor edi, edi
mov dword [esi + 0x28], 7
jmp 0x10102ec4
mov eax, ebx
cdq
push edx
push eax
call fcn.1001e1a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10102eb0
mov dword [esi + 0x28], 7
jmp 0x10102ec4
push ebx
push dword [esp + 0x14]
push edi
call fcn.1012bec0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [eax], ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x14]
call fcn.10048bc0
mov ecx, dword [esi + 0x28]
add esp, 4
test ecx, ecx
jne 0x10102ef8
mov ecx, eax
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x10102ef8
test edi, edi
jne 0x10102ef8
push ebx
push dword [ebp + 8]
push str.Node__lld_missing_from_database
push esi
call fcn.10102c70
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret