Function at 0x459a90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5142b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 8], eax
push 0x513254
lea ecx, [ebp - 0x14]
push ecx
call fcn.0042bfe0
add esp, 8
movzx edx, al
cmp edx, 1
je 0x459aeb
xor al, al
jmp 0x459c9a
mov eax, dword [ebp - 0x14]
push eax
call fcn.004373c0
add esp, 4
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00437ce0
add esp, 4
mov dword [ebp - 0x428], eax
mov edx, dword [ebp + 8]
push edx
push str.SELECT_LIDENTIFIER_FROM_RelationalExp_WHERE_R_ID___d
mov eax, dword [ebp - 8]
push eax
call fcn.00492848
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x428]
push edx
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x459b93
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je 0x459b93
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x424]
push edx
push 0x51329c
lea eax, [ebp - 0x218]
push eax
call fcn.00492848
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00441900
add esp, 8
mov eax, dword [ebp + 8]
push eax
push str.SELECT_OPERATOR_FROM_RelationalExp_WHERE_R_ID___d
mov ecx, dword [ebp - 8]
push ecx
call fcn.00492848
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x428]
push eax
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x459c0e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx + 4], 0
je 0x459c0e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0x5132d4
lea ecx, [ebp - 0x218]
push ecx
call fcn.00492848
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00441900
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT_RIDENTIFIER_FROM_RelationalExp_WHERE_R_ID___d
mov edx, dword [ebp - 8]
push edx
call fcn.00492848
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
call fcn.004391f0
add esp, 8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x21c]
push edx
call fcn.00438210
add esp, 4
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x459c98
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je 0x459c98
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0x513310
lea eax, [ebp - 0x218]
push eax
call fcn.00492848
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00441900
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048ed61
mov esp, ebp
pop ebp
ret