Function at 0x660e90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67bf65
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6f0f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
call fcn.0044b4d0
movzx eax, al
test eax, eax
je 0x660ece
xor eax, eax
jmp 0x661238
mov ecx, dword [ebp - 0x18]
call fcn.00660ae0
test eax, eax
jne 0x660ee1
xor eax, eax
jmp 0x661238
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004497d0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004497d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.006608f0
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.006608f0
lea ecx, [ebp - 0x48]
call fcn.00664480
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
call fcn.00660d10
mov ecx, eax
call fcn.004058c0
push eax
lea ecx, [ebp - 0x48]
call fcn.00664500
test eax, eax
je 0x660f7a
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.006644b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov eax, dword [ebp - 0x30]
jmp 0x661238
lea ecx, [ebp - 0x48]
call fcn.006645a0
movzx edx, al
test edx, edx
jne 0x660fbf
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.006644b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov eax, dword [ebp - 0x34]
jmp 0x661238
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
call fcn.0040a3e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
push str.SELECT__FROM__s_WHERE_key_s
lea eax, [ebp - 0x1c]
push eax
call fcn.00409580
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.0044ece0
lea ecx, [ebp - 0x1c]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00664600
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.0044ecc0
test eax, eax
je 0x661020
jmp 0x661149
lea ecx, [ebp - 0x70]
call fcn.0044ed30
test eax, eax
jne 0x661094
lea ecx, [ebp - 0x10]
call fcn.0044b4d0
movzx edx, al
test edx, edx
jne 0x66108f
lea ecx, [ebp - 0x24]
call fcn.0040a3e0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
push str.INSERT_INTO__s_VALUES___s___s_
lea ecx, [ebp - 0x24]
push ecx
call fcn.00409580
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x48]
call fcn.00664910
test eax, eax
jne 0x661083
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.0040a480
jmp 0x661149
lea ecx, [ebp - 0x10]
call fcn.0044b4d0
movzx edx, al
test edx, edx
je 0x6610f5
lea ecx, [ebp - 0x28]
call fcn.0040a3e0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
push str.DELETE_FROM__s_WHERE_key_s
lea eax, [ebp - 0x28]
push eax
call fcn.00409580
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x48]
call fcn.00664910
test eax, eax
jne 0x6610e7
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040a480
jmp 0x661149
lea ecx, [ebp - 0x2c]
call fcn.0040a3e0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
push str.UPDATE__s_SET_value_s_WHERE_key_s
lea edx, [ebp - 0x2c]
push edx
call fcn.00409580
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.004058c0
push eax
lea ecx, [ebp - 0x48]
call fcn.00664910
test eax, eax
jne 0x66113d
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0040a480
cmp dword [ebp - 0x20], 0
je 0x6611a6
lea ecx, [ebp - 0x48]
call fcn.00664a20
movzx eax, al
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0044ed00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040a480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.006644b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov eax, dword [ebp - 0x38]
jmp 0x661238
lea ecx, [ebp - 0x48]
call fcn.00664a80
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0044ed00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040a480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.006644b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040a480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a480
mov eax, dword [ebp - 0x3c]
jmp 0x661238
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8